.good-gifs__backdrop{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;background:#000a;padding:16px}.good-gifs{box-sizing:border-box;width:min(580px,100%);max-height:min(78vh,720px);display:flex;flex-direction:column;overflow:hidden;color:#fafafa;background:rgba(24,25,28,.9);border:0;border-radius:14px;box-shadow:0 10px 40px rgba(0,0,0,.4);font:inherit}.good-gifs--large-gallery{width:min(940px,100%);height:min(800px,90dvh);max-height:min(800px,90dvh)}.good-gifs--large-gallery .good-gifs__scroll{flex:1 1;min-height:0}@media(max-width:640px){.good-gifs--large-gallery{width:100%;height:min(520px,82dvh);max-height:min(520px,82dvh)}.good-gifs--large-gallery .good-gifs__scroll{padding-inline:10px}}.good-gifs__header,.good-gifs__tools{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px}.good-gifs__header{border-bottom:1px solid #ffffff22}.good-gifs button{cursor:pointer;color:inherit;font:inherit}.good-gifs__header-actions{display:flex;align-items:center;gap:10px}.good-gifs__header .good-gifs__close{border:0;background:none;font-size:24px;line-height:1}.good-gifs__tools input{flex:1 1;min-width:0;font-size:15px;color:#f4f4f4;background:rgba(40,41,46,.5);border:0;border-radius:8px;padding:11px 14px;outline:none;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.good-gifs__header .good-gifs__launch-upload,.good-gifs__tools button{padding:10px 15px;background:rgba(48,49,55,.4);border:0;border-radius:8px;color:#b5b5bc;white-space:nowrap;font-size:14px;line-height:normal;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.good-gifs__header .good-gifs__launch-upload:focus-visible,.good-gifs__header .good-gifs__launch-upload:hover,.good-gifs__tools button:focus-visible,.good-gifs__tools button:hover{background:rgba(48,49,55,.5);color:#fff}.good-gifs__tools select{box-sizing:border-box;width:min(165px,27vw);min-width:0;flex-shrink:1;padding:10px 14px;border:0;border-radius:8px;background:rgba(48,49,55,.4);color:#b5b5bc;font:inherit;outline:none;cursor:pointer;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px)}.good-gifs__tools select:focus-visible,.good-gifs__tools select:hover{background:rgba(48,49,55,.5);color:#fff}@media(max-width:640px){.good-gifs__tools{gap:6px;padding:10px}.good-gifs__tools input{font-size:13px;padding:10px 8px}.good-gifs__tools select{padding:10px 5px;font-size:12px}}.good-gifs__upload input:not([type=checkbox]){border:1px solid #777;background:#ffffff16;border-radius:8px;color:inherit;padding:9px}.good-gifs__more,.good-gifs__upload button{border:1px solid #888;border-radius:8px;padding:8px 12px;background:#ffffff20}.good-gifs__scroll{overflow-y:auto;padding:4px 16px 16px;min-height:200px}.good-gifs__tile{overflow:hidden;border:1px solid #ffffff25;background:#ffffff12;border-radius:9px;padding:0;text-align:left;display:flex;flex-direction:column;min-width:0}.good-gifs__tile:focus-within,.good-gifs__tile:hover{outline:2px solid #fff8}.good-gifs__tile img,.good-gifs__tile video{display:block;width:100%;height:auto;object-fit:contain}.good-gifs__tile span{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:6px}.good-gifs__empty,.good-gifs__loading{text-align:center;padding:48px 12px}.good-gifs__more{display:block;margin:16px auto 0}.good-gifs__upload{display:flex;flex-direction:column;gap:14px;padding:16px;min-height:200px;overflow-y:auto}.good-gifs__upload label{display:flex;align-items:center;gap:8px;font-size:13px}.good-gifs__error{margin:0;padding:10px 16px;color:#ffb6b6}.good-gifs__masonry{width:100%;min-height:0}.good-gifs__masonry .good-gifs__tile{width:100%;box-sizing:border-box}.good-gifs__checking{margin:0;color:#ccccd0;font-size:13px}.good-gifs__duplicates{display:flex;flex-direction:column;gap:8px;min-height:0}.good-gifs__duplicates strong{font-size:13px;font-weight:600}.good-gifs__duplicate-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:8px;max-height:240px;overflow-y:auto}.good-gifs__duplicate-grid button{display:flex;flex-direction:column;gap:4px;min-width:0;text-align:left;padding:5px;border:1px solid #ffffff35;border-radius:7px;background:#ffffff12}.good-gifs__duplicate-grid img{display:block;width:100%;height:90px;object-fit:contain}.good-gifs__duplicate-grid span{font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;max-width:100%}.good-gifs__upload input[type=file]{max-width:100%}.good-gifs__tags{display:flex;flex-wrap:wrap;gap:.5rem;min-width:0}.good-gifs__tag{display:inline-flex;align-items:center;gap:.25rem;min-height:2rem;padding:.25rem .625rem;border:1px solid rgba(148,163,184,.22);border-radius:999px;background:rgba(30,41,59,.72);color:rgba(248,250,252,.92);font:inherit;line-height:1.2;font-size:13px}.good-gifs__tag>span{white-space:nowrap}.good-gifs__tag button{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem;padding:0;border:0;border-radius:50%;background:transparent;color:inherit;cursor:pointer}.good-gifs__tag button:hover{background:rgba(51,65,85,.94)}.good-gifs__tag-add{cursor:pointer;opacity:.72}.good-gifs__tag-add:hover{opacity:1;background:rgba(51,65,85,.94)}.good-gifs__tag-input{position:relative;padding-right:.375rem}.good-gifs__tag-input input{border:0;min-width:0;outline:none;background:transparent;color:inherit;font:inherit}.good-gifs__tag-mirror{position:absolute;visibility:hidden;white-space:pre;font:inherit}.good-gifs__upload textarea{resize:vertical;min-height:64px}.good-gifs__upload select,.good-gifs__upload textarea{border:1px solid #777;background:#ffffff16;border-radius:8px;color:inherit;padding:9px;font:inherit}.good-gifs__upload select option{background:#1b1b20;color:#fafafa}.good-gifs__upload .good-gifs__tag{border:1px solid rgba(148,163,184,.22);border-radius:999px;padding:.25rem .625rem;background:rgba(30,41,59,.72)}.good-gifs__upload .good-gifs__tag-add:hover{background:rgba(51,65,85,.94)}.good-gifs__upload .good-gifs__tag button{border:0;border-radius:50%;padding:0;background:transparent}.good-gifs__upload .good-gifs__tag button:hover{background:rgba(51,65,85,.94)}.good-gifs__upload .good-gifs__tag-input input{border:0;border-radius:0;padding:0;background:transparent;outline:none}.good-gifs__upload-section,.good-gifs__upload-sections{display:flex;flex-direction:column;gap:12px;min-width:0}.good-gifs__upload-section h3{margin:0;font-size:14px;font-weight:600}.good-gifs__metadata-preview{display:flex;align-items:center;gap:10px;min-width:0}.good-gifs__metadata-preview img,.good-gifs__metadata-preview video{max-width:128px;max-height:112px;width:auto;height:auto;object-fit:contain;border-radius:6px}.good-gifs__metadata-preview span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.good-gifs__dropzone{position:relative;display:flex!important;flex-direction:column;align-items:center!important;justify-content:center;gap:10px;min-height:220px;padding:14px;box-sizing:border-box;border:2px dashed #ffffff60;border-radius:10px;background:#ffffff0a;text-align:center;cursor:pointer;overflow:hidden}.good-gifs__dropzone--dragging,.good-gifs__dropzone:focus-within,.good-gifs__dropzone:hover{border-color:#ddd;background:#ffffff1c}.good-gifs__upload .good-gifs__file-input{position:absolute;inset:0;width:100%;height:100%;max-width:none;opacity:0;cursor:pointer;z-index:1;padding:0;border:0}.good-gifs__preview{display:block;max-width:100%;max-height:280px;width:auto;height:auto;object-fit:contain;border-radius:6px}.good-gifs__preview-name{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px}.good-gifs__dropzone-prompt{font-size:13px;color:#cfcfd3}.good-gifs__upload-actions{display:flex;justify-content:flex-end;gap:8px}.good-gifs__upload-actions>button:first-child{margin-right:auto}.good-gifs__avif-quality{display:flex;flex-direction:column;gap:5px;font-size:13px}.good-gifs__avif-quality input{width:100%}.good-gifs__upload-progress{display:block;width:100%;height:12px;align-self:center;accent-color:#b7bcc6}.good-gifs__upload-section--metadata input[type=text],.good-gifs__upload-section--metadata select,.good-gifs__upload-section--metadata textarea{width:100%;box-sizing:border-box}.good-gifs__metadata-selects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}.good-gifs__metadata-selects--single{grid-template-columns:minmax(0,1fr)}@media(max-width:680px){.good-gifs__dropzone{min-height:170px}}.good-gifs__tile-caption{display:flex;flex-direction:column;gap:3px;padding:6px}.good-gifs__tile-caption span{padding:0}.good-gifs__tile-caption small{font-size:10px;color:#bdbdc2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.good-gifs__tile-open{display:block;width:100%;border:0;padding:0;background:none;color:inherit;text-align:inherit;cursor:pointer;font:inherit}.good-gifs__tile-open img,.good-gifs__tile-open video{width:100%}.good-gifs__tile-caption a{color:inherit;text-decoration:underline;text-underline-offset:2px}.good-gifs.good-gifs--embedded{width:100%;max-height:none;min-height:0;height:100%;border:0;border-radius:0;background:transparent;box-shadow:none}.good-gifs__processing{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:200px;text-align:center}.good-gifs__processing-spinner{width:23px;height:23px;flex:none;border:3px solid #54565c;border-top-color:#f3f3f5;border-radius:50%;animation:good-gifs-spin .8s linear infinite}.good-gifs__processing-detail{font-size:13px;color:#aeb0b8}@keyframes good-gifs-spin{to{transform:rotate(1turn)}}.good-gifs__tile{position:relative}.good-gifs__tile-favorite{position:absolute;top:6px;right:6px;z-index:2;display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:0;background:transparent;color:#fff;cursor:pointer;opacity:0;pointer-events:none;transition:opacity .15s ease}.good-gifs__tile-favorite svg{filter:drop-shadow(0 1px 2px rgba(0,0,0,.85)) drop-shadow(0 0 1px rgba(0,0,0,.55))}.good-gifs__tile:focus-within .good-gifs__tile-favorite,.good-gifs__tile:hover .good-gifs__tile-favorite{opacity:.6;pointer-events:auto}.good-gifs__tile .good-gifs__tile-favorite.is-favorited,.good-gifs__tile-favorite:focus-visible,.good-gifs__tile-favorite:hover{opacity:1;pointer-events:auto}.good-gifs__tile-favorite:focus-visible{outline:2px solid #fff;outline-offset:1px}.good-gifs__tile-favorite:disabled{cursor:default}@media (hover:none){.good-gifs__tile-favorite{opacity:.6;pointer-events:auto}}.good-gifs__browse-banners{align-self:center;border:0;background:none;color:inherit;font:inherit;cursor:pointer;opacity:.75;padding:10px}.good-gifs__browse-banners:hover{opacity:1}.good-gifs__banner-crop{display:flex;flex-direction:column;gap:14px;min-width:0}.good-gifs__banner-crop-viewport{position:relative;overflow:hidden;width:100%;border-radius:8px;background:rgba(255,255,255,.06)}.good-gifs__banner-crop-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.good-gifs__banner-crop-controls label{display:flex;flex-direction:column;align-items:stretch;gap:8px}.good-gifs__banner-crop-controls input{width:100%;accent-color:#b7bcc6}.good-gifs__banner-crop-detail{margin:0;color:#bcbec5;font-size:12px}@media(max-width:560px){.good-gifs__banner-crop-controls{grid-template-columns:1fr}}.good-gifs__single-column-gallery{display:grid;grid-template-columns:minmax(0,1fr);width:100%}.good-gifs__single-column-gallery>div{min-width:0}.good-gifs__tile.good-gifs__tile--captioned .good-gifs__tile-caption{position:absolute;inset:auto 0 0;z-index:1;padding:14px 12px 10px;background:linear-gradient(transparent,rgba(0,0,0,.74));color:#fff;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .15s ease}.good-gifs__tile--captioned:focus-within .good-gifs__tile-caption,.good-gifs__tile--captioned:hover .good-gifs__tile-caption{opacity:1;pointer-events:auto}.good-gifs__tile--captioned .good-gifs__tile-caption span{font-size:12px;font-weight:700;padding:0;color:#fff}.good-gifs__tile--captioned .good-gifs__tile-caption small{font-size:12px;color:#dedee1}.good-gifs__tile-comments{position:absolute;top:40px;right:6px;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;width:30px;min-height:36px;padding:0;border:0;background:transparent;color:#fff;text-decoration:none;cursor:pointer;opacity:0;pointer-events:none;transition:opacity .15s ease}.good-gifs__tile-comments span,.good-gifs__tile-comments svg{filter:drop-shadow(0 1px 2px rgba(0,0,0,.85)) drop-shadow(0 0 1px rgba(0,0,0,.55))}.good-gifs__tile-comments span{font-size:11px;line-height:14px;padding:0;color:inherit}.good-gifs__tile:focus-within .good-gifs__tile-comments,.good-gifs__tile:hover .good-gifs__tile-comments{opacity:.75;pointer-events:auto}.good-gifs__tile .good-gifs__tile-comments:focus-visible,.good-gifs__tile .good-gifs__tile-comments:hover{opacity:1;pointer-events:auto}@media(hover:none){.good-gifs__tile-comments{opacity:.75;pointer-events:auto}}.good-gifs__tile .good-gifs__tile-selection-label{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1;max-width:calc(100% - 40px);width:max-content;padding:8px 14px;border-radius:6px;background:rgba(0,0,0,.55);color:#fff;font-size:14px;font-weight:600;text-align:center;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .15s ease}.good-gifs__tile--selectable.good-gifs__tile--tap-preview .good-gifs__tile-selection-label,.good-gifs__tile--selectable:focus-within .good-gifs__tile-selection-label,.good-gifs__tile--selectable:hover .good-gifs__tile-selection-label{opacity:1}@media (hover:none){.good-gifs__tile--selectable:not(.good-gifs__tile--tap-preview) .good-gifs__tile-caption,.good-gifs__tile--selectable:not(.good-gifs__tile--tap-preview) .good-gifs__tile-comments,.good-gifs__tile--selectable:not(.good-gifs__tile--tap-preview) .good-gifs__tile-favorite,.good-gifs__tile--selectable:not(.good-gifs__tile--tap-preview) .good-gifs__tile-selection-label{opacity:0;pointer-events:none}.good-gifs__tile--selectable.good-gifs__tile--tap-preview .good-gifs__tile-caption,.good-gifs__tile--selectable.good-gifs__tile--tap-preview .good-gifs__tile-selection-label{opacity:1;pointer-events:auto}.good-gifs__tile--selectable.good-gifs__tile--tap-preview .good-gifs__tile-comments,.good-gifs__tile--selectable.good-gifs__tile--tap-preview .good-gifs__tile-favorite{opacity:.75;pointer-events:auto}}.good-gifs__tile-more{position:absolute;top:6px;right:40px;z-index:2;display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;background:transparent;color:#fff;cursor:pointer;opacity:0;pointer-events:none;transition:opacity .15s ease}.good-gifs__tile-more svg{filter:drop-shadow(0 1px 2px rgba(0,0,0,.85))}.good-gifs__tile:focus-within .good-gifs__tile-more,.good-gifs__tile:hover .good-gifs__tile-more{opacity:.75;pointer-events:auto}.good-gifs__tile-more:focus-visible,.good-gifs__tile-more:hover{opacity:1}@media(hover:none){.good-gifs__tile-more{opacity:.75;pointer-events:auto}.good-gifs__tile--selectable:not(.good-gifs__tile--tap-preview) .good-gifs__tile-more{opacity:0;pointer-events:none}}.good-gifs__tile-actions-backdrop{position:fixed;inset:0;z-index:2147483600;background:rgba(0,0,0,.67);display:flex;align-items:center;justify-content:center;padding:20px;box-sizing:border-box}.good-gifs__tile-actions-dialog{width:min(410px,100%);max-height:90vh;overflow-y:auto;box-sizing:border-box;padding:20px;border:0;border-radius:12px;background:rgba(24,25,28,.98);box-shadow:0 10px 40px rgba(0,0,0,.45);color:#f5f5f5;text-align:left}.good-gifs__tile-actions-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.good-gifs__tile-actions-dialog header strong{font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.good-gifs__tile-actions-dialog header button{border:0;background:transparent;color:inherit;cursor:pointer;font-size:24px;padding:0 4px}.good-gifs__tile-actions-list{display:flex;flex-direction:column;gap:8px}.good-gifs__tile-actions-list>a,.good-gifs__tile-actions-list>button{display:block;width:100%;box-sizing:border-box;border:0;border-radius:8px;background:rgba(50,51,57,.8);color:#eee;padding:10px 12px;font:inherit;font-size:14px;text-align:left;text-decoration:none;cursor:pointer}.good-gifs__tile-actions-list>a:hover,.good-gifs__tile-actions-list>button:hover:not(:disabled){background:rgba(75,76,84,.8)}.good-gifs__tile-actions-list>button:disabled{opacity:.5;cursor:default}.good-gifs__tile-actions-list label{display:flex;align-items:center;gap:10px;font-size:14px}.good-gifs__tile-actions-list label:has(select),.good-gifs__tile-actions-list label:has(textarea){align-items:stretch;flex-direction:column;gap:4px}.good-gifs__tile-actions-list input:not([type=checkbox]),.good-gifs__tile-actions-list select,.good-gifs__tile-actions-list textarea{min-width:0;width:100%;box-sizing:border-box;background:rgba(50,51,57,.8);color:#f5f5f5;border:0;border-radius:7px;padding:9px;font:inherit}.good-gifs__tile-actions-list form{display:flex;gap:8px}.good-gifs__tile-actions-list form button{border:0;border-radius:7px;background:rgba(75,76,84,.8);color:#fff;padding:8px;cursor:pointer}.good-gifs__tile-actions-error{color:#ffa5a5;font-size:13px;margin-top:10px}