body.scm-gallery-center { background:var(--scm-bg)!important; }
body.scm-gallery-center [hidden] { display:none!important; }
body.scm-gallery-center .gallery-center-nav { background:var(--scm-primary); border-bottom:1px solid rgba(255,255,255,.15); }
body.scm-gallery-center .gallery-center-nav-inner { width:min(100% - 40px,1100px); min-height:64px; margin:auto; display:flex; align-items:center; justify-content:space-between; gap:24px; }
body.scm-gallery-center .gallery-center-brand { color:#fff; font-size:.9rem; font-weight:700; text-decoration:none; }
body.scm-gallery-center .gallery-center-nav-links { display:flex; gap:6px; }
body.scm-gallery-center .gallery-center-nav-links a { border-radius:8px; color:rgba(255,255,255,.85); font-size:.82rem; font-weight:600; padding:8px 10px; text-decoration:none; }
body.scm-gallery-center .gallery-center-nav-links a:hover,body.scm-gallery-center .gallery-center-nav-links a[aria-current="page"] { background:rgba(255,255,255,.14); color:#fff; }
body.scm-gallery-center .gallery-center-shell { width:min(100% - 40px,1100px); margin:auto; padding:50px 0 64px; }
body.scm-gallery-center .gallery-center-header { max-width:690px; margin-bottom:31px; }
body.scm-gallery-center .gallery-center-header h1 { color:var(--scm-text); font-size:clamp(2rem,4vw,2.7rem); font-weight:700; letter-spacing:-.035em; line-height:1.1; margin:0; }
body.scm-gallery-center .gallery-center-header p { color:var(--scm-muted); font-size:1rem; line-height:1.55; margin:11px 0 0; }
body.scm-gallery-center .gallery-breadcrumb { align-items:center; color:var(--scm-muted); display:flex; flex-wrap:wrap; font-size:.78rem; gap:7px; margin:-10px 0 22px; min-width:0; }
body.scm-gallery-center .gallery-breadcrumb button { background:transparent; border:0; color:var(--scm-primary); cursor:pointer; font:inherit; font-weight:700; padding:5px 0; }
body.scm-gallery-center .gallery-breadcrumb button:disabled { color:var(--scm-text); cursor:default; }
body.scm-gallery-center .gallery-breadcrumb span { color:var(--scm-muted); min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body.scm-gallery-center .gallery-breadcrumb svg { fill:none; flex:none; height:14px; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.8; width:14px; }
body.scm-gallery-center .gallery-albums-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
body.scm-gallery-center .gallery-category-card { background:var(--scm-surface); border:1px solid var(--scm-border); border-radius:13px; color:inherit; cursor:pointer; display:block; min-width:0; overflow:hidden; padding:0; text-align:left; transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
body.scm-gallery-center .gallery-category-card:hover { border-color:#b7c4bd; box-shadow:0 10px 24px rgba(36,43,41,.07); transform:translateY(-2px); }
body.scm-gallery-center .gallery-category-cover { aspect-ratio:1.18; background:#eef1ed; display:block; overflow:hidden; }
body.scm-gallery-center .gallery-category-cover img { display:block; height:100%; object-fit:cover; transition:transform .35s ease; width:100%; }
body.scm-gallery-center .gallery-category-card:hover .gallery-category-cover img { transform:scale(1.035); }
body.scm-gallery-center .gallery-category-content { display:block; padding:15px 16px 17px; }
body.scm-gallery-center .gallery-category-content h2 { color:var(--scm-text); font-size:1rem; font-weight:700; line-height:1.3; margin:0; overflow-wrap:anywhere; }
body.scm-gallery-center .gallery-category-content p { color:var(--scm-muted); font-size:.78rem; line-height:1.4; margin:5px 0 0; }
body.scm-gallery-center .gallery-category-content .gallery-category-years { color:var(--scm-primary); font-size:.73rem; font-weight:700; margin-top:9px; }
body.scm-gallery-center .gallery-category-view { min-width:0; }
body.scm-gallery-center .gallery-section-header { border-bottom:1px solid var(--scm-border); margin-bottom:20px; padding-bottom:16px; }
body.scm-gallery-center .gallery-section-header h2 { color:var(--scm-text); font-size:1.35rem; letter-spacing:-.02em; line-height:1.25; margin:0; }
body.scm-gallery-center .gallery-section-header p { color:var(--scm-muted); font-size:.82rem; margin:5px 0 0; }
body.scm-gallery-center .gallery-category-albums-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
body.scm-gallery-center .gallery-album-card { background:var(--scm-surface); border:1px solid var(--scm-border); border-radius:13px; color:inherit; cursor:pointer; display:block; min-width:0; overflow:hidden; padding:0; text-align:left; transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease; }
body.scm-gallery-center .gallery-album-card:hover { border-color:#b7c4bd; box-shadow:0 10px 24px rgba(36,43,41,.07); transform:translateY(-2px); }
body.scm-gallery-center .gallery-album-cover { aspect-ratio:1.38; background:#eef1ed; display:block; overflow:hidden; position:relative; }
body.scm-gallery-center .gallery-album-cover::after { background:linear-gradient(180deg,transparent 62%,rgba(22,36,31,.25)); content:""; inset:0; pointer-events:none; position:absolute; }
body.scm-gallery-center .gallery-album-cover img { height:100%; object-fit:cover; transition:transform .35s ease; width:100%; }
body.scm-gallery-center .gallery-album-card:hover .gallery-album-cover img { transform:scale(1.035); }
body.scm-gallery-center .gallery-album-content { align-items:end; display:flex; gap:14px; justify-content:space-between; padding:16px 17px 18px; }
body.scm-gallery-center .gallery-album-content :where(h2,h3) { color:var(--scm-text); font-size:1rem; font-weight:700; line-height:1.35; margin:0; overflow-wrap:anywhere; }
body.scm-gallery-center .gallery-album-content p { color:var(--scm-muted); font-size:.79rem; line-height:1.4; margin:4px 0 0; }
body.scm-gallery-center .gallery-album-arrow { align-items:center; border:1px solid var(--scm-border); border-radius:50%; color:var(--scm-primary); display:inline-flex; flex:none; height:31px; justify-content:center; width:31px; }
body.scm-gallery-center :where(.gallery-album-arrow,.gallery-back,.gallery-lightbox-nav,.gallery-lightbox-close,.gallery-download) svg { fill:none; height:18px; stroke:currentColor; stroke-linecap:round; stroke-linejoin:round; stroke-width:1.8; width:18px; }
body.scm-gallery-center .gallery-album-view { min-width:0; }
body.scm-gallery-center .gallery-album-header { align-items:flex-start; border-bottom:1px solid var(--scm-border); display:flex; gap:21px; margin-bottom:20px; padding-bottom:18px; }
body.scm-gallery-center .gallery-back { align-items:center; background:transparent; border:0; color:var(--scm-primary); cursor:pointer; display:inline-flex; flex:none; font:inherit; font-size:.82rem; font-weight:700; gap:5px; min-height:38px; padding:0; }
body.scm-gallery-center .gallery-back svg { height:17px; width:17px; }
body.scm-gallery-center .gallery-album-header h2 { color:var(--scm-text); font-size:1.22rem; letter-spacing:-.018em; line-height:1.3; margin:3px 0 0; }
body.scm-gallery-center .gallery-album-header p { color:var(--scm-muted); font-size:.83rem; margin:4px 0 0; }
body.scm-gallery-center .gallery-album-header .gallery-album-category { color:var(--scm-primary); font-size:.72rem; font-weight:700; letter-spacing:.04em; margin:1px 0 5px; text-transform:uppercase; }
body.scm-gallery-center .gallery-photos-grid { columns:3 250px; column-gap:14px; }
body.scm-gallery-center .gallery-photo-card { background:#eef1ed; border:0; break-inside:avoid; cursor:pointer; display:block; margin:0 0 14px; overflow:hidden; padding:0; position:relative; width:100%; }
body.scm-gallery-center .gallery-photo-card img { display:block; height:auto; max-width:100%; min-height:110px; object-fit:cover; transition:transform .25s ease; width:100%; }
body.scm-gallery-center .gallery-photo-card:hover img { transform:scale(1.015); }
body.scm-gallery-center .gallery-more { background:#fff; border:1px solid var(--scm-primary); border-radius:9px; color:var(--scm-primary); cursor:pointer; display:block; font:inherit; font-size:.84rem; font-weight:700; margin:22px auto 0; min-height:42px; padding:9px 15px; }
body.scm-gallery-center .gallery-state { align-items:center; background:var(--scm-surface); border:1px solid var(--scm-border); border-radius:12px; color:var(--scm-muted); display:flex; gap:12px; justify-content:center; min-height:122px; padding:21px; text-align:left; }
body.scm-gallery-center .gallery-state h2 { color:var(--scm-text); font-size:.96rem; margin:0; }body.scm-gallery-center .gallery-state p { font-size:.84rem; margin:4px 0 0; }
body.scm-gallery-center .gallery-spinner { animation:gallery-spin .8s linear infinite; border:2px solid var(--scm-border); border-right-color:var(--scm-primary); border-radius:50%; height:25px; width:25px; }@keyframes gallery-spin { to { transform:rotate(360deg); } }
body.scm-gallery-center .gallery-state-icon { align-items:center; border:1px solid var(--scm-border); border-radius:50%; color:var(--scm-primary); display:inline-flex; flex:none; font-weight:700; height:28px; justify-content:center; width:28px; }.gallery-state-error .gallery-state-icon { color:var(--scm-error); }.gallery-retry { background:var(--scm-primary); border:0; border-radius:8px; color:#fff; cursor:pointer; font:inherit; font-size:.8rem; font-weight:700; margin-top:11px; min-height:38px; padding:8px 12px; }
body.scm-gallery-center .gallery-center-footer { border-top:1px solid var(--scm-border); color:var(--scm-muted); font-size:.75rem; padding:17px 20px; }body.scm-gallery-center .gallery-center-footer p { margin:0 auto; width:min(100%,1100px); }
body.scm-gallery-center .gallery-lightbox { align-items:center; background:rgba(20,29,26,.96); display:flex; inset:0; justify-content:center; padding:38px 78px 78px; position:fixed; z-index:200; }
body.scm-gallery-center .gallery-lightbox-figure { align-items:center; display:flex; flex-direction:column; margin:0; max-height:100%; max-width:100%; }.gallery-lightbox-figure img { display:block; max-height:calc(100vh - 138px); max-width:100%; object-fit:contain; }.gallery-lightbox figcaption { align-items:center; color:#fff; display:flex; font-size:.82rem; gap:14px; justify-content:center; margin-top:15px; }.gallery-download { align-items:center; border:1px solid rgba(255,255,255,.56); border-radius:8px; color:#fff; display:inline-flex; font-size:.8rem; font-weight:700; gap:6px; min-height:37px; padding:7px 10px; text-decoration:none; }.gallery-download:hover { background:#fff; color:var(--scm-primary); }
body.scm-gallery-center .gallery-lightbox-close,body.scm-gallery-center .gallery-lightbox-nav { align-items:center; background:transparent; border:0; color:#fff; cursor:pointer; display:inline-flex; justify-content:center; position:absolute; }.gallery-lightbox-close { right:22px; top:20px; }.gallery-lightbox-close svg { height:28px; width:28px; }.gallery-lightbox-nav { height:44px; top:calc(50% - 24px); width:44px; }.gallery-lightbox-nav svg { height:30px; width:30px; }.gallery-lightbox-prev { left:20px; }.gallery-lightbox-next { right:20px; }.sr-only { clip:rect(0,0,0,0); clip-path:inset(50%); height:1px; overflow:hidden; position:absolute; white-space:nowrap; width:1px; }
body.scm-gallery-center .gallery-skeleton-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }body.scm-gallery-center .gallery-skeleton-grid > span { animation:gallery-pulse 1.15s ease-in-out infinite alternate; aspect-ratio:1.38; background:#e9ece8; border-radius:13px; }@keyframes gallery-pulse { to { opacity:.48; } }
body.scm-gallery-center .mho-sidebar { background:var(--scm-primary)!important; border-right:1px solid rgba(255,255,255,.15)!important; box-shadow:none!important; backdrop-filter:none!important; }body.scm-gallery-center .mho-sidebar-link.active { background:rgba(255,255,255,.16)!important; }
@media (max-width:1000px) { body.scm-gallery-center .gallery-albums-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:900px) { body.scm-gallery-center .gallery-albums-grid,body.scm-gallery-center .gallery-category-albums-grid,body.scm-gallery-center .gallery-skeleton-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:767px) { body.scm-gallery-center .gallery-center-nav { display:none; }body.scm-gallery-center .gallery-center-shell { padding:28px 0 42px; width:calc(100% - 32px); }body.scm-gallery-center .gallery-center-header { margin-bottom:22px; padding-right:54px; }body.scm-gallery-center .gallery-center-header h1 { font-size:clamp(1.6rem,7vw,1.82rem); line-height:1.18; }body.scm-gallery-center .gallery-center-header p { font-size:.875rem; margin-top:8px; }body.scm-gallery-center .gallery-breadcrumb { margin-top:-7px; }body.scm-gallery-center .gallery-albums-grid,body.scm-gallery-center .gallery-skeleton-grid { gap:12px; }body.scm-gallery-center .gallery-category-albums-grid { grid-template-columns:1fr; gap:12px; }body.scm-gallery-center .gallery-category-content { padding:13px 14px 15px; }body.scm-gallery-center .gallery-album-content { padding:14px 15px 16px; }body.scm-gallery-center .gallery-album-header { display:block; }.gallery-album-header > div { margin-top:10px; }body.scm-gallery-center .gallery-photos-grid { columns:2 145px; column-gap:8px; }.gallery-photo-card { margin-bottom:8px; }body.scm-gallery-center .gallery-lightbox { padding:25px 12px 72px; }.gallery-lightbox-nav { bottom:13px; top:auto; }.gallery-lightbox-prev { left:calc(50% - 56px); }.gallery-lightbox-next { left:calc(50% + 12px); right:auto; }.gallery-lightbox-figure img { max-height:calc(100vh - 145px); }.gallery-lightbox figcaption { bottom:14px; left:12px; margin:0; position:absolute; }.gallery-download span { display:none; }.gallery-download { min-height:40px; padding:8px; }.gallery-center-footer { font-size:.71rem; padding:13px 16px; } }
@media (max-width:430px) { body.scm-gallery-center .gallery-albums-grid,body.scm-gallery-center .gallery-skeleton-grid { grid-template-columns:1fr; } }
@media (prefers-reduced-motion:reduce) { body.scm-gallery-center * { scroll-behavior:auto!important; transition-duration:.01ms!important; animation-duration:.01ms!important; } }
