.gallery-hub{padding-block:48px var(--page-end-space)}.gallery-hub-heading{justify-content:space-between;align-items:center;gap:16px 32px;margin-bottom:32px;display:flex}.gallery-hub-heading h1{min-width:0}.gallery-hub-new{flex:none}.gallery-hub-new:disabled{cursor:wait;opacity:.6}.gallery-hub-status{color:var(--muted);font-size:var(--text-label);line-height:var(--leading-body);margin:-12px 0 24px}.gallery-hub-status:empty{display:none}.gallery-hub-hidden{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.gallery-hub-loading{color:var(--muted);font-size:var(--text-label);line-height:var(--leading-body)}.gallery-hub-lede{max-width:62ch;font-size:var(--text-body);line-height:var(--leading-body);margin-bottom:28px}.gallery-hub-prompt{max-width:62ch;color:var(--muted);font-size:var(--text-body);line-height:var(--leading-body);margin-top:20px}.gallery-hub-actions{flex-wrap:wrap;align-items:center;gap:8px 24px;margin-top:28px;display:flex}.gallery-designs{border:0;min-width:0;margin:0;padding:0}.gallery-designs-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0;padding:0;list-style:none;display:grid}.gallery-design{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:start;background:0 0;border:0;border-radius:0;flex-direction:column;padding:0;display:flex}.gallery-design img{aspect-ratio:8/5;object-fit:cover;background:var(--stone);width:100%;height:auto;display:block}.gallery-design-name{font-size:var(--text-body);margin-top:12px;font-weight:600;line-height:1.35}.gallery-design-description{color:var(--muted);font-size:var(--text-label);margin-top:2px;line-height:1.45}.gallery-design-start,.gallery-design-choice{cursor:pointer}.gallery-design-start:hover .gallery-design-name,.gallery-design-choice:hover .gallery-design-name{color:var(--accent);text-underline-offset:4px;text-decoration:underline 1px}.gallery-design-start:focus-visible{outline:2px solid var(--accent);outline-offset:5px}.gallery-design-choice{position:relative}.gallery-design-input{opacity:0;pointer-events:none;width:1px;height:1px;margin:0;position:absolute;top:0;left:0}.gallery-design-choice:has(:checked) img{outline:2px solid var(--ink);outline-offset:3px}.gallery-design-choice:has(:checked) .gallery-design-name{text-underline-offset:6px;text-decoration:underline 2px}.gallery-design-choice:has(:focus-visible) img{outline-color:var(--accent);outline-offset:3px;outline-width:2px;outline-style:solid}.gallery-design-choice:has(:disabled){cursor:wait;opacity:.6}.gallery-create-panel{margin-bottom:56px}.gallery-hub .gallery-create-panel h2{font-size:var(--text-card);margin-bottom:20px;line-height:1.25}.gallery-create-row{flex-wrap:wrap;align-items:center;gap:12px 16px;margin-top:32px;display:flex}.gallery-name-field{flex:0 420px;min-width:0;display:block;position:relative}.gallery-name-field input{width:100%;height:var(--control-height);border:1px solid var(--theme-control-border);border-radius:var(--control-radius);background:var(--paper);color:var(--ink);font:16px/1.5 var(--sans);caret-color:var(--accent);padding:10px 14px 10px calc(19px + 3em);display:block}.gallery-name-field input:hover{border-color:var(--muted)}.gallery-name-field input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.gallery-name-prefix{inset-inline-start:15px;color:var(--muted);font:16px/1.5 var(--sans);white-space:nowrap;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.gallery-create-submit{min-width:120px}.gallery-create-note{color:var(--muted);font-size:var(--text-label);line-height:var(--leading-body);margin-top:12px}.gallery-create-status{font-size:var(--text-label);line-height:var(--leading-body);margin-top:12px}.gallery-create-status:empty{display:none}.gallery-create-error{font-size:var(--text-label);line-height:var(--leading-body);margin-top:12px}.gallery-create-error>p{color:var(--accent)}.gallery-hub-links{flex-wrap:wrap;gap:0 24px;display:flex}.gallery-create-panel :is(button,input):disabled{cursor:wait;opacity:.6}.gallery-hub-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 24px;display:grid}.gallery-hub-space{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"picture picture""name menu""meta menu";align-items:start;column-gap:8px;min-width:0;display:grid;position:relative}.gallery-hub-preview{aspect-ratio:8/5;background:var(--stone);grid-area:picture;overflow:hidden}.gallery-hub-preview img{object-fit:cover;width:100%;height:100%;display:block}.gallery-hub-preview[data-missing]{color:var(--muted);font-size:var(--text-label);place-items:center;display:grid}.gallery-hub .gallery-hub-space-name{font-size:var(--text-card);overflow-wrap:anywhere;grid-area:name;margin-top:14px;line-height:1.25}.gallery-hub-space-name:focus{outline:none}.gallery-hub-open{color:var(--ink);text-decoration:none}.gallery-hub-open:after{content:"";position:absolute;inset:0}.gallery-hub-space:hover:not(:has(.gallery-hub-menu:hover)) .gallery-hub-open{color:var(--accent);text-underline-offset:4px;text-decoration:underline 1px}.gallery-hub-open:focus-visible{outline:none}.gallery-hub-space:has(.gallery-hub-open:focus-visible),.gallery-hub-space:has(.gallery-hub-space-name:focus-visible){outline:2px solid var(--accent);outline-offset:6px}.gallery-hub-meta{color:var(--muted);font-size:var(--text-label);font-variant-numeric:tabular-nums;grid-area:meta;margin-top:4px;line-height:1.5}.gallery-hub-menu{z-index:1;grid-area:menu;margin:10px -10px 0 0;position:relative}.gallery-hub-menu>summary{border-radius:var(--control-radius);width:44px;height:44px;color:var(--muted);cursor:pointer;place-items:center;list-style:none;display:grid}.gallery-hub-menu>summary::-webkit-details-marker{display:none}.gallery-hub-menu>summary:hover,.gallery-hub-menu[open]>summary{background:var(--theme-control-hover);color:var(--ink)}.gallery-hub-menu>summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.gallery-hub-menu svg{width:22px;height:22px}.gallery-hub-menu-panel{z-index:2;border:1px solid var(--rule);border-radius:var(--surface-radius);background:var(--paper);width:max-content;min-width:200px;padding:8px;position:absolute;top:calc(100% + 4px);right:0}.gallery-hub-delete{border-radius:var(--control-radius);width:100%;min-height:44px;color:var(--accent);text-align:start;background:0 0;border:0;align-items:center;padding:10px;font-size:15px;line-height:1.6;display:flex}.gallery-hub-delete:hover:not(:disabled){background:var(--theme-control-hover)}.gallery-hub-delete:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.gallery-hub-delete:disabled{cursor:wait;opacity:.6}.gallery-hub-notes{max-width:70ch;color:var(--muted);font-size:var(--text-label);line-height:var(--leading-body);flex-direction:column;gap:6px;margin-top:40px;display:flex}.gallery-hub-notes a{color:var(--ink)}.gallery-hub-notes a:hover{color:var(--accent)}.gallery-hub-error{color:var(--muted);font-size:var(--text-body);line-height:var(--leading-body)}:is(.gallery-hub-error,.gallery-favorites-error) .account-text-link{min-height:0;font-size:inherit;margin-block:-12px;padding:12px 0;display:inline}.gallery-favorites{margin-top:var(--section-space)}.gallery-hub .gallery-favorites-heading h2{font-size:var(--text-section)}.gallery-favorites-heading h2 span{color:var(--muted);font-weight:400}.gallery-favorites-status{color:var(--muted);font-size:var(--text-label);margin-top:8px;line-height:1.6}.gallery-favorites-status:empty{display:none}.gallery-favorites-empty,.gallery-favorites-error{max-width:65ch;color:var(--muted);font-size:var(--text-body);line-height:var(--leading-body);margin-top:12px}.gallery-favorites-actions{flex-wrap:wrap;align-items:center;gap:8px 24px;margin-top:20px;display:flex}.gallery-favorites-actions .button{gap:16px}.gallery-favorites-actions svg{flex:none;width:20px;height:20px}.gallery-favorites-grid{align-items:flex-start;gap:24px var(--row-gap);flex-wrap:wrap;margin:20px 0 0;padding:0;list-style:none;display:flex;container-type:inline-size}.gallery-favorites-grid:empty{display:none}.gallery-favorite{flex-grow:calc(var(--rd) * (1 - var(--dt)));flex-shrink:1;flex-basis:min(calc((100% - var(--dg) - 1px) * var(--ds)), calc(var(--rd) * var(--row-height) + (1 - var(--dt)) * 100000px));min-width:0}.gallery-favorite-image{display:block}.gallery-favorite-image img{width:calc(100% * var(--fd));background:var(--stone);height:auto;display:block}.gallery-favorite-caption{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"title remove""artist remove";column-gap:4px;margin-top:10px;display:grid}.gallery-favorite-title{color:var(--ink);font-size:var(--text-label);overflow-wrap:anywhere;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;grid-area:title;font-weight:500;line-height:1.4;text-decoration:none;display:-webkit-box;overflow:hidden}.gallery-favorite:hover .gallery-favorite-title{color:var(--accent);text-underline-offset:3px;text-decoration:underline 1px}.gallery-favorite-artist{color:var(--muted);font-size:var(--text-label);overflow-wrap:anywhere;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;grid-area:artist;margin-top:2px;line-height:1.4;display:-webkit-box;overflow:hidden}.gallery-favorite-remove{width:32px;height:32px;color:var(--muted);background:0 0;border:0;border-radius:50%;grid-area:remove;place-items:center;margin:-7px -7px 0 0;padding:0;display:grid;position:relative}.gallery-favorite-remove:before{content:"";position:absolute;inset:-6px}.gallery-favorite-remove svg{width:16px;height:16px}.gallery-favorite-remove:hover:not(:disabled){background:var(--theme-control-hover);color:var(--accent)}.gallery-favorite-remove:disabled{cursor:wait;opacity:.5}.gallery-favorite :is(a,button):focus-visible{outline:2px solid var(--accent);outline-offset:3px}.gallery-favorites-all{margin-top:20px}.gallery-favorites-all:disabled{cursor:wait;opacity:.6}.gallery-favorite-note{-webkit-line-clamp:3;line-clamp:3;overflow-wrap:anywhere;white-space:pre-wrap;font-size:var(--text-label);-webkit-box-orient:vertical;margin-top:10px;line-height:1.6;display:-webkit-box;overflow:hidden}.gallery-favorite-note-open{min-height:44px;color:var(--muted);font:inherit;font-size:var(--text-label);text-underline-offset:4px;background:0 0;border:0;align-items:center;padding:6px 0;text-decoration:underline;display:inline-flex}.gallery-favorite-note-open:hover{color:var(--accent)}.gallery-note-panel{max-width:760px;margin-block:24px}.gallery-note-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:8px;display:flex}.gallery-note-heading h3{font-size:var(--text-card);font-weight:600;line-height:1.3}.gallery-note-heading button{width:44px;height:44px;color:var(--muted);background:0 0;border:0;flex-shrink:0;place-items:center;padding:0;display:grid}.gallery-note-heading button:hover{background:var(--theme-control-hover)}.gallery-delete-dialog{overscroll-behavior:contain;border-radius:var(--surface-radius);background:var(--paper);width:min(480px,100vw - 32px);max-width:none;max-height:calc(100dvh - 32px);color:var(--ink);border:0;margin:auto;padding:32px;overflow:auto}.gallery-delete-dialog::backdrop{background:#1817147a}html:has(.gallery-delete-dialog[open]){overflow:hidden}.gallery-hub .gallery-delete-dialog h2{font-size:var(--text-card);overflow-wrap:anywhere;line-height:1.25}.gallery-delete-dialog>p,.gallery-delete-error{font-size:var(--text-body);line-height:var(--leading-body);margin-top:12px}.gallery-delete-dialog>p{color:var(--muted)}.gallery-delete-status:empty{display:none}.gallery-delete-error>p{color:var(--accent)}.gallery-delete-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px 24px;margin-top:28px;display:flex}.gallery-delete-actions button:disabled{cursor:wait;opacity:.6}@media (width<=1000px){.gallery-hub-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=900px){.gallery-designs-row{margin-inline:calc(-1 * var(--page-gutter));padding:6px var(--page-gutter) 12px;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding-inline:var(--page-gutter);scrollbar-width:thin;scrollbar-color:var(--rule) transparent;gap:16px;display:flex;overflow-x:auto}.gallery-designs-row>*{scroll-snap-align:start;flex:0 0 min(260px,68vw)}}@media (width<=760px){.gallery-favorites-grid{gap:20px var(--row-gap-phone)}.gallery-favorite{flex-grow:calc(var(--rp) * (1 - var(--pt)));flex-basis:min(calc((100% - var(--pg) - 1px) * var(--ps)), calc(var(--rp) * var(--row-height-phone) + (1 - var(--pt)) * 100000px))}.gallery-favorite-image img{width:calc(100% * var(--fp))}.gallery-favorite-caption{margin-top:8px}}@media (width<=600px){.gallery-hub{padding-top:32px}.gallery-hub-heading{flex-direction:column;align-items:stretch;gap:20px;margin-bottom:28px}.gallery-hub-new{width:100%}.gallery-hub-cards{grid-template-columns:minmax(0,1fr);gap:32px}.gallery-hub-actions{flex-direction:column;align-items:stretch;gap:4px}.gallery-hub-actions .button{width:100%}.gallery-hub-actions .account-text-link{align-self:center}.gallery-create-panel{margin-bottom:44px}.gallery-create-row{flex-direction:column;align-items:stretch;gap:12px;margin-top:24px}.gallery-name-field{flex:none}.gallery-create-submit{width:100%}.gallery-create-cancel{align-self:center}.gallery-favorites-actions{flex-direction:column;align-items:stretch;gap:4px}.gallery-favorites-actions .button{justify-content:space-between;width:100%}.gallery-favorites-actions .account-text-link{align-self:flex-start}.gallery-delete-dialog{padding:24px}.gallery-delete-actions{flex-direction:column-reverse;align-items:stretch;gap:4px}.gallery-delete-actions .button{width:100%}.gallery-delete-actions .account-text-link{align-self:center}}
