.gallery-page{padding-block:clamp(28px,4vw,48px) 76px}.gallery-page .gallery-heading{display:grid;gap:8px;margin-block-end:clamp(20px,2.5vw,28px)}.gallery-page .gallery-heading h1{font-family:var(--display-font);font-size:clamp(2.2rem,4.6vw,3.5rem);font-weight:740;letter-spacing:-.035em;line-height:1.05;margin:0;text-wrap:balance}.gallery-page .gallery-heading p{color:var(--muted);font-size:clamp(.95rem,1.45vw,1.06rem);line-height:1.5;margin:0}.gallery-page .gallery-filters{align-items:center;background:var(--panel-muted);border:1px solid var(--line);border-radius:16px;display:grid;gap:10px 14px;padding:8px}.gallery-page .gallery-search{position:relative;width:100%}.gallery-search-svg{color:var(--muted);inset-block-start:50%;inset-inline-start:14px;pointer-events:none;position:absolute;transform:translateY(-50%)}.gallery-page .gallery-search input{background:var(--paper);border:1px solid var(--control-border);border-radius:11px;color:var(--ink);font-size:.95rem;min-height:42px;min-width:0;padding:8px 14px 8px 40px;transition:border-color .15s ease,box-shadow .15s ease;width:100%}.gallery-page .gallery-search input:focus-visible{border-color:var(--accent)}.gallery-page .gallery-search input::-moz-placeholder{color:var(--muted)}.gallery-page .gallery-search input::placeholder{color:var(--muted)}.gallery-page .gallery-categories{align-items:center;display:flex;flex-wrap:wrap;gap:4px}.gallery-category-short{display:none}.gallery-page .gallery-categories button{background:transparent;border:1px solid transparent;border-radius:10px;color:var(--muted);cursor:pointer;font-size:.85rem;font-weight:640;line-height:1.2;min-height:40px;padding:7px 12px;transition:background-color .15s ease,color .15s ease}.gallery-page .gallery-categories button:hover{background:#110d1b0d;color:var(--ink)}.gallery-page .gallery-categories button[aria-pressed=true]{background:var(--ink);color:#fff}.gallery-page .gallery-categories button[aria-pressed=true]:hover{background:var(--accent)}.gallery-page .gallery-toolbar{align-items:center;display:flex;flex-wrap:wrap;gap:10px 14px;justify-content:space-between;margin-block:16px 24px}.gallery-page .gallery-count{color:var(--ink);font-size:.88rem;font-variant-numeric:tabular-nums;font-weight:620;margin:0}.gallery-hint{color:var(--muted);font-weight:480}.gallery-page .gallery-playback{border-radius:999px;font-size:.84rem;min-height:38px;padding:6px 13px}.gallery-page .gallery-playback[data-playing=true]{background:var(--accent-tint);border-color:var(--accent-border);color:var(--on-accent)}.gallery-page .gallery-group+.gallery-group{margin-block-start:clamp(34px,4.5vw,52px)}.gallery-group-header{align-items:center;display:flex;gap:10px;margin-bottom:16px}.gallery-page .gallery-group h2{font-family:var(--display-font);font-size:clamp(1.3rem,2.3vw,1.7rem);font-weight:720;letter-spacing:-.025em;margin:0}.gallery-group-count{align-items:center;background:var(--panel-muted);border-radius:999px;color:var(--muted);display:inline-flex;font-size:.78rem;font-variant-numeric:tabular-nums;font-weight:660;height:24px;justify-content:center;min-width:26px;padding-inline:8px}.gallery-page .gallery-grid{display:grid;gap:clamp(16px,2vw,22px);grid-template-columns:repeat(3,minmax(0,1fr))}.gallery-page .gallery-card{background:var(--paper);border:1px solid var(--line);border-radius:16px;display:flex;flex-direction:column;overflow:hidden;transition:border-color .18s ease,box-shadow .2s ease,transform .2s ease}.gallery-page .gallery-card:hover{border-color:var(--accent-border);box-shadow:var(--card-shadow-hover);transform:translateY(-2px)}.gallery-page .gallery-art{align-items:center;aspect-ratio:16/9;background:#f2f0f7;border-bottom:1px solid var(--line);display:flex;justify-content:center;overflow:hidden;padding:10px;position:relative}.gallery-page .gallery-art[data-aspect=landscape]{background:var(--stage-dark);padding:0}.gallery-art-frame{border-radius:8px;height:auto;max-height:100%;max-width:100%;overflow:hidden;position:relative;width:100%}.gallery-page .gallery-art[data-aspect=landscape] .gallery-art-frame{border-radius:0;max-height:100%;width:100%}.gallery-page .gallery-art[data-aspect=portrait] .gallery-art-frame,.gallery-page .gallery-art[data-aspect=square] .gallery-art-frame{box-shadow:0 4px 16px #110d1b1f;height:100%;width:auto}.gallery-art-frame canvas,.gallery-art-frame img{display:block;height:100%;inset:0;-o-object-fit:contain;object-fit:contain;position:absolute;width:100%}.gallery-aspect-badge{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#110d1bb8;border-radius:6px;color:#fff;font-size:.72rem;font-variant-numeric:tabular-nums;font-weight:650;opacity:0;padding:3px 7px;position:absolute;right:10px;top:10px;transition:opacity .16s ease;z-index:2}.gallery-page .gallery-card:focus-visible .gallery-aspect-badge,.gallery-page .gallery-card:hover .gallery-aspect-badge{opacity:1}.gallery-page .gallery-card-label{color:var(--ink);font-size:.93rem;line-height:1.3;min-height:48px;padding:11px 14px}.gallery-card-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gallery-page .gallery-card:focus-visible .gallery-card-arrow,.gallery-page .gallery-card:hover .gallery-card-arrow{background:var(--accent-tint);color:var(--accent);transform:translate(1px,-1px)}.gallery-page .gallery-empty .secondary{min-height:44px}@media(min-width:1160px){.gallery-page .gallery-filters{grid-template-columns:minmax(220px,1fr) auto}}@media(max-width:920px){.gallery-page .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.gallery-page .gallery-grid{grid-template-columns:minmax(0,1fr)}.gallery-hint{display:none}}@media(max-width:480px){.gallery-category-full{display:none}.gallery-category-short{display:inline}.gallery-page .gallery-categories button{font-size:.82rem;padding-inline:10px}}@media(prefers-reduced-motion:reduce){.gallery-aspect-badge,.gallery-page .gallery-card,.gallery-page .gallery-card-arrow,.gallery-page .gallery-categories button{transition:none}.gallery-page .gallery-card:hover,.gallery-page .gallery-card:hover .gallery-card-arrow{transform:none}}
