.gallery-section.shell{width:calc(100% - 64px);max-width:1600px;padding-top:27px}.gallery-section .gallery-toolbar{justify-content:space-between;align-items:center;gap:18px;margin:0 0 18px;display:flex}.gallery-section .gallery-heading{align-items:baseline;gap:8px;display:flex}.gallery-section .gallery-heading h1{letter-spacing:-.6px;font-size:19px;font-weight:700}.gallery-section .gallery-heading>span{font-family:var(--font-mono);color:var(--muted);font-size:10px}.gallery-section .gallery-actions{align-items:center;gap:16px;display:flex}.gallery-section .gallery-search{background:#1b1f18;border-radius:20px;width:190px;max-width:none;padding:7px 10px}.gallery-section .gallery-search input{font-size:10px}.gallery-section .preview-control{border:1px solid var(--border);color:#d3ddc8;white-space:nowrap;background:#20251d;border-radius:20px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;font-size:10px;display:inline-flex}.gallery-section .preview-control:hover{color:var(--text);border-color:#81916c}.gallery-section .preview-control svg{color:var(--accent)}.gallery-section .category-tabs{flex-wrap:wrap;gap:7px;margin-bottom:21px;display:flex}.gallery-section .category-tabs button{border-radius:20px;gap:5px;padding:6px 11px;font-size:10px;line-height:1.3}.gallery-section .category-tabs button.selected{color:var(--accent);background:#2b3722;border-color:#a6c978}.gallery-section .category-tabs button span{font-size:9px}.gallery-section .motion-grid{columns:4;column-gap:15px;display:block}.gallery-section .motion-card{break-inside:avoid;min-width:0;margin-bottom:15px}.gallery-section .card-visual{aspect-ratio:4/3;background:#161d14;border-color:#343b30;border-radius:10px;display:block;overflow:hidden}.gallery-section .motion-card:nth-child(4n+2) .card-visual{aspect-ratio:4/5}.gallery-section .motion-card:nth-child(4n+3) .card-visual{aspect-ratio:16/10}.gallery-section .motion-card:nth-child(8n+4) .card-visual{aspect-ratio:1}.gallery-section .card-visual:after{display:none}.gallery-section .card-visual>a{width:100%;height:100%;display:block;position:relative}.gallery-section .card-visual img,.gallery-section .card-visual video{object-fit:cover;width:100%;height:100%}.gallery-section .card-open{opacity:0;background:#111a;border:1px solid #ffffff61;border-radius:50%;justify-content:center;align-items:center;width:29px;height:29px;transition:opacity .2s,transform .2s;display:flex;position:absolute;bottom:10px;right:10px;transform:translateY(4px)}.gallery-section .card-visual:hover .card-open,.gallery-section .card-visual:focus-within .card-open{opacity:1;transform:translateY(0)}.gallery-section .card-info{align-items:center;gap:8px;min-height:21px;margin-top:8px;display:flex}.gallery-section .card-creator{color:#c5cfc0;white-space:nowrap;text-overflow:ellipsis;font-size:10px;overflow:hidden}.gallery-section .card-creator:hover{color:var(--accent)}.gallery-section .card-type{color:#9baa93;white-space:nowrap;border:1px solid #394536;border-radius:20px;margin-left:auto;padding:1px 7px;font-size:9px}.gallery-section .gallery-source-note{color:#85927f;margin-top:20px;font-size:10px;line-height:1.6}.gallery-section .card-external,.gallery-section .motion-card:nth-child(n) .card-external{aspect-ratio:4/3;background:#172216;overflow:hidden}.gallery-section .external-fallback{color:#d5f69c;background:radial-gradient(circle at 73% 25%,#526b33 0,#0000 29%),linear-gradient(145deg,#253420,#111a11);flex-direction:column;justify-content:center;align-items:flex-start;gap:8px;height:100%;padding:22px;display:flex}.gallery-section .external-fallback .external-symbol{font-family:Arial,sans-serif;font-size:50px;line-height:1}.gallery-section .external-fallback>span:not(.external-symbol){color:#bbcaad;font-size:10px}.gallery-section .external-fallback strong{letter-spacing:-.4px;overflow-wrap:anywhere;font-size:18px;line-height:1.25}.gallery-section .external-fallback small{color:#9caf90;font-size:9px}.gallery-section .poster-fallback{padding:23px}.gallery-section .poster-fallback strong{font-size:clamp(19px,2vw,30px)}.gallery-section .local-preview-badge{color:#d7f59f;background:#17230ce6;border:1px solid #d7f59f8c;border-radius:20px;padding:4px 8px;font-size:9px;font-weight:700;position:absolute;top:10px;left:10px}.gallery-section .local-preview-toggle{color:#bddd88;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;margin-top:5px;padding:3px 0;font-size:10px;text-decoration:underline}.gallery-section .local-preview-toggle:hover{color:#e5ffb8}.gallery-section .local-preview-toggle span{color:#84957d;text-decoration:none}@media (max-width:1100px){.gallery-section .motion-grid{columns:2;column-gap:13px}.gallery-section .motion-card{margin-bottom:13px}}@media (max-width:800px){.gallery-section.shell{width:calc(100% - 40px)}.gallery-section .gallery-toolbar{flex-wrap:wrap}.gallery-section .gallery-actions{margin-left:auto}}@media (max-width:560px){.gallery-section.shell{width:calc(100% - 24px);padding-top:18px}.gallery-section .gallery-toolbar{align-items:flex-start;gap:12px}.gallery-section .gallery-actions{justify-content:space-between;gap:9px;width:100%}.gallery-section .gallery-search{width:min(46vw,200px)}.gallery-section .preview-control{padding:7px 9px;font-size:9px}.gallery-section .category-tabs{gap:6px;margin-bottom:15px}.gallery-section .category-tabs button{padding:5px 8px;font-size:9px}.gallery-section .motion-grid{columns:1}.gallery-section .motion-card{margin-bottom:16px}.gallery-section .card-info{gap:4px;margin-top:5px}.gallery-section .card-creator,.gallery-section .card-type{font-size:10px}.gallery-section .card-type{padding:1px 6px}.gallery-section .external-fallback{padding:18px}.gallery-section .external-fallback .external-symbol{font-size:45px}.gallery-section .external-fallback>span:not(.external-symbol){font-size:9px}.gallery-section .external-fallback strong{font-size:17px}}
