/* Approved gallery 1.2, scoped to the production plugin directory. */
.hub-plugin-gallery{color:#242528;max-width:1240px;margin:0 auto;padding:18px 10px 0}
.hub-plugin-gallery button{font:inherit;border:0;background:none;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.hub-plugin-gallery button:disabled{opacity:.4;cursor:default}.hub-plugin-gallery button:focus-visible,.hub-plugin-gallery input:focus-visible{outline:3px solid #5575ff;outline-offset:3px}.hub-plugin-gallery svg{display:block}.hub-plugin-gallery [hidden]{display:none!important}
.hub-plugin-gallery .intro{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:47px}
.hub-plugin-gallery .eyebrow{display:flex;align-items:center;gap:8px;color:#80838a;font-size:11px;letter-spacing:1.6px;margin-bottom:20px}
.hub-plugin-gallery .eyebrow span{height:5px;width:5px;border-radius:100%;background:#4f6dfa;box-shadow:0 0 0 4px #4f6dfa0a}
.hub-plugin-gallery h1{font-size:clamp(32px,3.35vw,46px);font-weight:600;letter-spacing:-2px;line-height:1.4;margin:0}
.hub-plugin-gallery h1 span{color:#898b91;font-weight:400}
.hub-plugin-gallery .intro p{color:#919399;font-size:12px;letter-spacing:.5px;margin:15px 0 0}
.hub-plugin-gallery .intro-index{display:flex;flex-direction:column;text-align:right;padding-bottom:4px;color:#96989d}
.hub-plugin-gallery .intro-index>span{font-size:10px;letter-spacing:1px}
.hub-plugin-gallery .intro-index b{font-size:42px;font-weight:380;line-height:1.5;color:#42444a;letter-spacing:-2px;font-variant-numeric:tabular-nums}
.hub-plugin-gallery .intro-index em{font-size:16px;font-style:normal;color:#b2b3b7;letter-spacing:-.5px}
.hub-plugin-gallery .intro-index small{font-size:10px}
.hub-plugin-gallery .section-label{display:flex;align-items:center;gap:11px;margin-bottom:16px}
.hub-plugin-gallery h2{font-size:14px;font-weight:580;margin:0;letter-spacing:.3px}
.hub-plugin-gallery .section-label>span{font-size:10px;letter-spacing:.6px;color:#a3a5a9}
.hub-plugin-gallery .section-label>button{margin-left:auto;font-size:11px;color:#898c91;padding:5px}
.hub-plugin-gallery .section-label button span{padding-left:9px}
.hub-plugin-gallery .section-label button[aria-pressed=true]{color:#4768e8}
.hub-plugin-gallery .shelf{display:flex;align-items:center;gap:12px;min-height:91px;padding:9px 13px;background:linear-gradient(180deg,#efefef,#f4f4f4);border:1px solid #e6e6e6;border-radius:21px;box-shadow:inset 0 1px 3px #00000003,0 1px 0 white}
.hub-plugin-gallery .shelf-item{min-width:0;flex:1;display:flex;align-items:center;position:relative;gap:14px;background:#fff;border:1px solid #eaeaea;border-radius:14px;padding:13px 16px;box-shadow:0 2px 2px #00000002,0 4px 9px #000000025;transition:transform .25s,box-shadow .25s,border .25s;cursor:pointer}
.hub-plugin-gallery .shelf-item:hover{transform:translateY(-3px);box-shadow:0 5px 13px #00000009;border-color:#d7d7d7}
.hub-plugin-gallery .shelf-item.dragging{opacity:.3}
.hub-plugin-gallery .shelf-item.drag-over{border-color:#6680eb;transform:translateX(4px)}
.hub-plugin-gallery .shelf-item .shelf-title{display:flex;flex-direction:column;gap:5px;text-align:left;min-width:0}
.hub-plugin-gallery .shelf-title strong{font-size:12px;font-weight:550}
.hub-plugin-gallery .shelf-title small{font-size:9px;color:#a1a3a8;white-space:nowrap}
.hub-plugin-gallery .shelf-item .arrow{margin-left:auto;font-size:17px;color:#b7b8bb}
.hub-plugin-gallery .shelf-item .remove{position:absolute;right:-6px;top:-6px;width:20px;height:20px;border-radius:50%;background:#313339;color:white;font-size:15px;border:2px solid #f5f5f5;display:none;line-height:1}
.hub-plugin-gallery .shelf.editing .shelf-item{cursor:grab}
.hub-plugin-gallery .shelf.editing .remove{display:block}
.hub-plugin-gallery .shelf.editing .shelf-item:before{content:'⠿';color:#aaa;font-size:11px;margin-right:-9px}
.hub-plugin-gallery .shelf-add{display:flex;gap:9px;align-items:center;justify-content:center;flex:1;min-height:69px;border:1px dashed #d1d2d5;border-radius:14px;color:#8c8f95;font-size:11px;transition:background .2s}
.hub-plugin-gallery .shelf-add:hover{background:#ffffff91}
.hub-plugin-gallery .shelf-add span{font-size:19px;color:#92959d}
.hub-plugin-gallery #hub-gallery-shelf-hint{font-size:10px;color:#898c91;margin:9px 4px 0}
.hub-plugin-gallery .mini-icon{position:relative;width:38px;height:38px;flex:0 0 38px;border:1px solid #e5e5e7;background:linear-gradient(145deg,#fff,#f0f0f1);border-radius:11px;box-shadow:inset 0 1px 0 white,0 2px 3px #00000003;display:grid;place-items:center}
.hub-plugin-gallery .mini-icon svg{width:21px;height:21px;stroke:#565b66;stroke-width:1.4;fill:none;stroke-linecap:round;stroke-linejoin:round}
.hub-plugin-gallery .collection{margin-top:44px}
.hub-plugin-gallery .collection-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;gap:20px}
.hub-plugin-gallery .filter-group{display:flex;align-items:center;gap:23px}
.hub-plugin-gallery .hairline{height:16px;width:1px;background:#ddd}
.hub-plugin-gallery .filters{position:relative;display:flex;align-items:center;gap:2px}
.hub-plugin-gallery .filters button{position:relative;z-index:1;font-size:11px;color:#919399;padding:8px 13px;transition:color .25s}
.hub-plugin-gallery .filters button[aria-pressed=true]{color:#33363e}
.hub-plugin-gallery .filters #hub-gallery-filter-highlight{position:absolute;height:30px;left:0;top:0;z-index:0;background:#e9e9eb;border-radius:8px;transition:transform .3s cubic-bezier(.2,.8,.2,1),width .3s}
.hub-plugin-gallery .search{width:220px;display:flex;align-items:center;gap:9px;border-bottom:1px solid #dcdde0;padding:8px 1px}
.hub-plugin-gallery .search svg{width:15px;height:15px;stroke:#8a8e98;fill:none;stroke-width:1.5;flex-shrink:0}
.hub-plugin-gallery .search input{background:none;min-width:0;width:100%;border:0;outline:none;font-size:11px;color:#333}
.hub-plugin-gallery .search input::placeholder{color:#a3a6ac}
.hub-plugin-gallery .search kbd{font-family:inherit;font-size:10px;border:1px solid #dedfe2;border-radius:4px;color:#a6a8ae;padding:0 5px;line-height:17px}
.hub-plugin-gallery .gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.hub-plugin-gallery .plugin-card{position:relative;isolation:isolate;display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #e7e7e9;border-radius:23px;box-shadow:0 2px 3px #000000015,0 9px 24px #000000025;overflow:hidden;transition:transform .32s cubic-bezier(.16,.8,.25,1),box-shadow .32s,border-color .32s;animation:hub-gallery-enter .55s cubic-bezier(.2,.7,.2,1) both;animation-delay:calc(var(--i)*45ms);transform:perspective(1000px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)) translateY(var(--lift,0px))}
.hub-plugin-gallery .plugin-card:hover{--lift:-5px;border-color:#d1d4da;box-shadow:0 5px 10px #00000003,0 20px 35px #00000006}
.hub-plugin-gallery .card-open{position:absolute;inset:0;z-index:2;border-radius:23px}
.hub-plugin-gallery .card-open:focus-visible{outline-offset:-4px}
.hub-plugin-gallery .card-top{display:flex;align-items:center;justify-content:space-between;padding:23px 25px 0;position:relative;z-index:3;pointer-events:none}
.hub-plugin-gallery .card-label{font-size:9px;letter-spacing:1px;color:#9599a1}
.hub-plugin-gallery .pin{display:grid;place-items:center;pointer-events:auto;width:29px;height:29px;border-radius:50%;border:1px solid transparent;transition:background .2s,border .2s;color:#b4b7bc;cursor:pointer}
.hub-plugin-gallery .pin svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5}
.hub-plugin-gallery .pin:hover{background:#f4f5f7;border-color:#e5e6eb;color:#515965}
.hub-plugin-gallery .pin[aria-pressed=true]{color:#5573ec}
.hub-plugin-gallery .pin[aria-pressed=true] svg{fill:#5573ec15}
.hub-plugin-gallery .scene{height:170px;position:relative;margin:0 20px;display:grid;place-items:center;pointer-events:none;overflow:visible}
.hub-plugin-gallery .scene>*{transition:transform .55s cubic-bezier(.2,.7,.2,1)}
.hub-plugin-gallery .plugin-card:hover .scene>.scene-object{transform:translateY(-5px)}
.hub-plugin-gallery .card-copy{padding:3px 26px 24px;pointer-events:none}
.hub-plugin-gallery .card-copy h3{margin:0 0 9px;font-size:20px;font-weight:570;letter-spacing:-.5px}
.hub-plugin-gallery .card-copy p{margin:0;font-size:11px;line-height:1.8;color:#9599a0;min-height:38px}
.hub-plugin-gallery .card-bottom{border-top:1px solid #f0f0f1;padding:13px 26px;display:flex;justify-content:space-between;align-items:center;color:#9599a0;font-size:9px}
.hub-plugin-gallery .card-bottom .open-cue{font-size:12px;color:#747b86;transition:transform .25s}
.hub-plugin-gallery .plugin-card:hover .open-cue{transform:translateX(3px);color:#5473ed}
.hub-plugin-gallery .tiny-dot{display:inline-block;width:4px;height:4px;background:#788fff;border-radius:50%;margin-right:6px;vertical-align:2px}
.hub-plugin-gallery .scene-object{position:relative}
.hub-plugin-gallery .window-stack{width:216px;height:119px}
.hub-plugin-gallery .mini-window{position:absolute;border:1px solid #d8dbe2;border-radius:10px;background:linear-gradient(135deg,#fff,#f8f9fa);box-shadow:0 9px 16px #333d4f0c;width:165px;height:102px}
.hub-plugin-gallery .mini-window.back{right:0;top:0;transform:rotate(6deg);background:#f4f4f5}
.hub-plugin-gallery .mini-window.front{left:0;top:13px;transform:rotate(-5deg)}
.hub-plugin-gallery .mini-window .bar{height:24px;border-bottom:1px solid #e9eaed;display:flex;gap:4px;align-items:center;padding:0 10px;color:#9ba0ab;font:8px monospace}
.hub-plugin-gallery .mini-window .bar i{width:4px;height:4px;background:#d2d5db;border-radius:50%}
.hub-plugin-gallery .mini-window .bar span{margin-left:7px}
.hub-plugin-gallery .code-line{display:flex;align-items:center;margin:10px 13px 0;gap:7px}
.hub-plugin-gallery .code-line i{display:block;background:#e3e5e9;border-radius:3px;height:3px}
.hub-plugin-gallery .code-line b{font:13px monospace;color:#5b7aed;font-weight:400}
.hub-plugin-gallery .code-line .blue{background:#627fed}
.hub-plugin-gallery .mini-spark{position:absolute;right:-4px;bottom:-6px;width:36px;height:36px;border:1px solid #dce1f0;border-radius:11px;background:white;box-shadow:0 3px 6px #00000006;display:grid;place-items:center;color:#5575e9;font-size:22px}
.hub-plugin-gallery .folio-art{width:216px;height:123px}
.hub-plugin-gallery .bank-card{position:absolute;width:155px;height:99px;border:1px solid #d3d6dd;border-radius:11px;background:linear-gradient(145deg,#f8f9fb,#e4e6eb);box-shadow:0 8px 12px #00000008;padding:15px;transform:rotate(-9deg);top:13px;left:9px}
.hub-plugin-gallery .bank-card.back{transform:rotate(8deg);left:48px;top:3px;background:#fff}
.hub-plugin-gallery .bank-card .chip{width:23px;height:17px;border:1px solid #b6bbc6;border-radius:4px;background:linear-gradient(160deg,#e4e6eb,#fafafa);position:relative}
.hub-plugin-gallery .chip:before{content:'';position:absolute;inset:5px -1px;border-block:1px solid #b6bbc6}
.hub-plugin-gallery .chip:after{content:'';position:absolute;inset:-1px 7px;border-inline:1px solid #b6bbc6}
.hub-plugin-gallery .bank-card .card-brand{font-size:10px;position:absolute;right:15px;top:16px;letter-spacing:1px;font-weight:600;color:#757c89}
.hub-plugin-gallery .bank-card small{display:block;font:10px monospace;letter-spacing:2px;color:#848b98;margin-top:24px}
.hub-plugin-gallery .balance-chart{position:absolute;bottom:-3px;right:-6px;width:87px;height:61px;border:1px solid #e0e3e9;background:#ffffffed;border-radius:9px;box-shadow:0 4px 10px #00000008;display:flex;align-items:flex-end;padding:9px}
.hub-plugin-gallery .balance-chart svg{width:100%;height:100%}
.hub-plugin-gallery .vault-art{width:200px;height:119px}
.hub-plugin-gallery .vault-panel{position:absolute;left:9px;top:14px;width:171px;height:99px;border:1px solid #d7dae1;border-radius:14px;background:linear-gradient(130deg,#fff,#f5f5f6);box-shadow:0 9px 18px #00000007;transform:rotate(-5deg);padding:18px}
.hub-plugin-gallery .vault-lock{width:26px;height:31px;color:#7f899c}
.hub-plugin-gallery .vault-lock svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.5}
.hub-plugin-gallery .vault-dots{display:flex;gap:6px;position:absolute;left:57px;top:31px}
.hub-plugin-gallery .vault-dots i{height:6px;width:6px;background:#89909d;border-radius:50%}
.hub-plugin-gallery .vault-line{width:112px;height:4px;background:#e0e3e8;border-radius:4px;margin-top:13px}
.hub-plugin-gallery .keycap{position:absolute;right:-4px;top:2px;display:grid;place-items:center;width:54px;height:54px;background:linear-gradient(145deg,#fff,#f2f3f6);border:1px solid #d9dce2;box-shadow:0 5px 0 #e4e6eb,0 12px 20px #0000000a;border-radius:15px;transform:rotate(11deg)}
.hub-plugin-gallery .keycap svg{height:26px;width:26px;fill:none;stroke:#617dda;stroke-width:1.7}
.hub-plugin-gallery .papers-art{width:198px;height:132px}
.hub-plugin-gallery .sheet{position:absolute;width:124px;height:123px;top:7px;left:28px;border:1px solid #dcdfe5;border-radius:7px;background:#fff;box-shadow:0 4px 11px #00000005;padding:21px 18px;transform:rotate(-9deg)}
.hub-plugin-gallery .sheet.back{transform:rotate(11deg);left:47px;top:1px;background:#f1f2f4}
.hub-plugin-gallery .sheet:before{content:'';position:absolute;width:14px;height:25px;background:#7c90d7;top:-1px;right:17px;clip-path:polygon(0 0,100% 0,100% 100%,50% 75%,0 100%)}
.hub-plugin-gallery .paper-title{height:6px;width:55px;background:#a9b0bc;border-radius:2px;margin-bottom:15px}
.hub-plugin-gallery .paper-line{height:3px;background:#dfe2e7;margin:8px 0;border-radius:2px}
.hub-plugin-gallery .paper-line.short{width:63%}
.hub-plugin-gallery .tag-label{position:absolute;bottom:3px;right:2px;padding:7px 11px;border-radius:7px;background:#fff;border:1px solid #dadde5;font-size:9px;color:#8e95a2;box-shadow:0 5px 9px #00000004;transform:rotate(4deg)}
.hub-plugin-gallery .works-art{width:200px;height:127px}
.hub-plugin-gallery .project-frame{position:absolute;width:145px;height:113px;background:#fff;border:1px solid #dcdfe4;border-radius:9px;box-shadow:0 8px 13px #00000007;padding:9px;top:9px;left:13px;transform:rotate(-7deg)}
.hub-plugin-gallery .project-frame.back{left:42px;top:0;transform:rotate(8deg);background:#f1f2f4}
.hub-plugin-gallery .project-image{height:69px;border-radius:4px;background:#f1f2f5;position:relative;overflow:hidden}
.hub-plugin-gallery .project-image .orb{height:62px;width:62px;border-radius:50%;position:absolute;right:8px;top:15px;background:radial-gradient(circle at 33% 30%,#fff,#d2d6df);box-shadow:3px 7px 14px #3f4b6920}
.hub-plugin-gallery .project-image .arch{position:absolute;bottom:-5px;left:11px;width:36px;height:53px;border-radius:30px 30px 0 0;background:linear-gradient(90deg,#aeb4c2,#f9f9fa)}
.hub-plugin-gallery .project-line{height:4px;width:57px;background:#bec4ce;border-radius:2px;margin:11px 0 0}
.hub-plugin-gallery .project-stamp{position:absolute;bottom:4px;right:1px;border-radius:50%;width:37px;height:37px;background:#fff;border:1px solid #e0e3eb;display:grid;place-items:center;font-size:18px;color:#617ddd;box-shadow:0 5px 10px #00000009}
.hub-plugin-gallery .tools-art{position:relative;width:191px;height:123px;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;transform:rotate(-7deg);padding-top:6px}
.hub-plugin-gallery .tool-key{border:1px solid #d8dce3;border-radius:11px;background:linear-gradient(130deg,#fff,#eff0f3);display:grid;place-items:center;box-shadow:0 4px 0 #e5e7eb,0 7px 12px #00000006;height:46px;color:#858f9f;font-family:monospace;font-size:19px}
.hub-plugin-gallery .tool-key.large{grid-column:span 2;color:#657ed6;font-size:12px;letter-spacing:1px}
.hub-plugin-gallery .tool-key.accent{color:#607de0}
.hub-plugin-gallery .plugin-card:hover .mini-window.front{transform:rotate(-8deg) translate(-4px,-2px)}
.hub-plugin-gallery .plugin-card:hover .bank-card:not(.back){transform:rotate(-14deg) translate(-4px,1px)}
.hub-plugin-gallery .plugin-card:hover .keycap{transform:rotate(4deg) translateY(-5px)}
.hub-plugin-gallery .plugin-card:hover .sheet:not(.back){transform:rotate(-12deg) translate(-3px,-3px)}
.hub-plugin-gallery .plugin-card:hover .project-frame:not(.back){transform:rotate(-11deg) translate(-3px,-3px)}
.hub-plugin-gallery .plugin-card:hover .tool-key.accent{transform:translateY(-5px)}
.hub-plugin-gallery .mini-window,.hub-plugin-gallery .bank-card,.hub-plugin-gallery .keycap,.hub-plugin-gallery .sheet,.hub-plugin-gallery .project-frame,.hub-plugin-gallery .tool-key{transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.hub-plugin-gallery .empty{text-align:center;padding:80px 20px;border:1px dashed #d9dbdf;border-radius:23px;color:#989ca3}
.hub-plugin-gallery .empty>span{font-size:43px}
.hub-plugin-gallery .empty h3{color:#4f555f;font-size:18px;font-weight:500}
.hub-plugin-gallery .empty p{font-size:12px}
.hub-plugin-gallery .empty button{font-size:12px;color:#5d78d5;margin-top:20px}
.hub-plugin-gallery footer{margin:34px 0 0;padding:21px 0 29px;display:flex;justify-content:space-between;border-top:1px solid #e3e3e5;color:#a0a3a9;font-size:10px}
.hub-plugin-gallery footer i{display:inline-block;width:3px;height:3px;border-radius:100%;background:#aaa;vertical-align:3px;margin:0 7px}
@keyframes hub-gallery-enter{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}
@media(min-width:1700px){.hub-plugin-gallery .scene{height:188px}
.hub-plugin-gallery .card-copy{padding-top:10px}
.hub-plugin-gallery .intro{margin-bottom:55px}}
@media(max-width:1100px){.hub-plugin-gallery .gallery{gap:16px}
.hub-plugin-gallery .card-copy{padding-inline:20px}
.hub-plugin-gallery .card-top{padding-inline:20px}
.hub-plugin-gallery .card-bottom{padding-inline:20px}
.hub-plugin-gallery .scene{margin-inline:8px}
.hub-plugin-gallery .shelf-item{padding:12px 10px;gap:10px}
.hub-plugin-gallery .shelf-title small{display:none}
.hub-plugin-gallery .shelf-item .arrow{display:none}
.hub-plugin-gallery .intro-index small{display:none}
.hub-plugin-gallery .filter-group{gap:15px}}
@media(max-width:760px){.hub-plugin-gallery .intro{margin-bottom:30px}
.hub-plugin-gallery .eyebrow{font-size:9px;letter-spacing:1.2px;margin-bottom:13px}
.hub-plugin-gallery h1{font-size:31px;letter-spacing:-1.2px}
.hub-plugin-gallery .intro p{font-size:10px;margin-top:12px}
.hub-plugin-gallery .intro-index{display:none}
.hub-plugin-gallery .shelf{gap:8px;padding:9px;min-height:83px;border-radius:17px}
.hub-plugin-gallery .shelf-item{justify-content:center;flex-direction:column;padding:10px 4px;gap:8px;border-radius:11px;min-height:90px}
.hub-plugin-gallery .shelf-title strong{font-size:10px;text-align:center}
.hub-plugin-gallery .mini-icon{height:30px;width:30px;flex-basis:30px;border-radius:9px}
.hub-plugin-gallery .mini-icon svg{width:18px;height:18px}
.hub-plugin-gallery .shelf-add{min-height:90px;flex-direction:column;font-size:9px;padding:5px;gap:4px}
.hub-plugin-gallery .shelf-add span{font-size:17px}
.hub-plugin-gallery .shelf.editing .shelf-item:before{display:none}
.hub-plugin-gallery .section-label{margin-bottom:13px}
.hub-plugin-gallery .collection{margin-top:31px}
.hub-plugin-gallery .collection-head{gap:17px;align-items:flex-start;flex-direction:column;margin-bottom:18px}
.hub-plugin-gallery .filter-group{width:100%;justify-content:space-between;gap:10px}
.hub-plugin-gallery .filter-group h2{font-size:13px}
.hub-plugin-gallery .hairline{display:none}
.hub-plugin-gallery .filters button{font-size:10px;padding:8px 10px}
.hub-plugin-gallery .search{width:100%;background:#ededee88;border:1px solid #e5e5e7;border-radius:10px;padding:10px 12px}
.hub-plugin-gallery .search kbd{display:none}
.hub-plugin-gallery .gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.hub-plugin-gallery .plugin-card{border-radius:18px}
.hub-plugin-gallery .card-open{border-radius:18px}
.hub-plugin-gallery .card-top{padding:13px 12px 0}
.hub-plugin-gallery .card-label{font-size:8px;letter-spacing:.2px}
.hub-plugin-gallery .pin{width:23px;height:23px}
.hub-plugin-gallery .pin svg{width:12px;height:12px}
.hub-plugin-gallery .scene{height:124px;margin:0;overflow:hidden}
.hub-plugin-gallery .scene-object{scale:.7}
.hub-plugin-gallery .card-copy{padding:0 14px 16px}
.hub-plugin-gallery .card-copy h3{font-size:17px;margin-bottom:7px}
.hub-plugin-gallery .card-copy p{font-size:10px;line-height:1.8;min-height:36px}
.hub-plugin-gallery .card-bottom{padding:11px 14px;font-size:8px}
.hub-plugin-gallery .card-bottom .open-cue{font-size:11px}
.hub-plugin-gallery .card-bottom .tiny-dot{width:3px;height:3px;margin-right:4px}
.hub-plugin-gallery footer{font-size:9px;gap:10px;padding-bottom:32px;margin-top:25px}
.hub-plugin-gallery footer>span:last-child{display:none}
.hub-plugin-gallery #hub-gallery-shelf-hint{font-size:9px;line-height:1.7}}
@media(max-width:760px){.hub-plugin-gallery .pin{width:40px;height:40px;margin:-8px -8px -8px 0}}
.hub-plugin-gallery .shelf-item{padding:0;flex-direction:column;align-items:stretch;gap:0;overflow:hidden}.hub-plugin-gallery .shelf-open{width:100%;display:flex;align-items:center;gap:14px;padding:13px 16px;min-height:69px;text-align:left}.hub-plugin-gallery .mini-icon>span{font-size:15px}.hub-plugin-gallery .mini-icon img{width:100%;height:100%;object-fit:contain;position:absolute;inset:0;padding:5px}.hub-plugin-gallery .shelf.editing .shelf-item:before{display:none}.hub-plugin-gallery .shelf-controls{display:flex;justify-content:center;border-top:1px solid #eee;gap:5px}.hub-plugin-gallery .shelf-controls button{width:40px;min-height:40px;font-size:16px}.hub-plugin-gallery .shelf-controls button:hover:not(:disabled){background:#f1f2f4}.hub-plugin-gallery .section-label>button,.hub-plugin-gallery .filters button,.hub-plugin-gallery .empty button{min-height:40px}.hub-plugin-gallery .pin{width:40px;height:40px}.hub-plugin-gallery .card-top{padding-top:16px}.hub-plugin-gallery .card-copy{flex:1}.hub-plugin-gallery .card-copy p{overflow-wrap:anywhere}.hub-plugin-gallery .filter-group{flex-wrap:wrap}.hub-plugin-gallery .filters{flex-wrap:nowrap}.hub-plugin-gallery .collection-head{min-width:0}.hub-plugin-gallery .search input{outline-offset:3px}.hub-plugin-gallery .shelf-open .shelf-title{min-width:0}.hub-plugin-gallery .shelf-title strong{overflow-wrap:anywhere}
@media(max-width:760px){.hub-plugin-gallery{padding:4px 2px 0}.hub-plugin-gallery .shelf-open{flex-direction:column;padding:10px 4px;gap:8px;min-height:90px;justify-content:center}.hub-plugin-gallery .shelf-controls{gap:0;flex-wrap:wrap}.hub-plugin-gallery .shelf-controls button{width:40px}.hub-plugin-gallery .shelf-title strong{font-size:10px;text-align:center}.hub-plugin-gallery .shelf{align-items:stretch}.hub-plugin-gallery .section-label{gap:6px}.hub-plugin-gallery .section-label>button{padding:5px 0}.hub-plugin-gallery .filter-group{gap:8px}.hub-plugin-gallery .pin{margin:-8px -8px -8px 0}.hub-plugin-gallery .card-label{max-width:calc(100% - 32px)}.hub-plugin-gallery .card-copy p{font-size:10px;line-height:1.8}.hub-plugin-gallery .card-copy{padding-inline:14px}.hub-plugin-gallery .shelf-open .arrow{display:none}}
@media(prefers-reduced-motion:reduce){.hub-plugin-gallery *,.hub-plugin-gallery *:before,.hub-plugin-gallery *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.hub-plugin-gallery .plugin-card,.hub-plugin-gallery .scene *{transform:none!important}}
/* Keep the real nomi entry in the host header on mobile galleries. The saved
   floating position is untouched and remains in use on other pages. */
.gallery-nomi-launch{display:none}
@media(max-width:760px){
 .is-plugin-gallery .gallery-nomi-launch{display:grid;place-items:center;flex:0 0 40px;width:40px;min-width:40px;height:40px;padding:0;border:1px solid var(--paper-line);border-radius:12px;background:#fff}
 .gallery-nomi-launch .nomi-avatar{display:block;width:36px;height:36px;margin:0}
 .gallery-nomi-launch:focus-visible{outline:2px solid #4e6a94;outline-offset:2px}
 body:has(.is-plugin-gallery) #assistant-root .assistant-fab.nomi-fab{display:none!important}
}
