/* PokéSage: compact, real-card catalogue. No cropped card artwork. */
.gallery-site{--paper:#07121c;--ink:#ecf2f7;--muted:#93a7b9;--line:#263b4a;--purple:#f4ce62;--yellow:#f4ce62;background:var(--paper);color:var(--ink);font:14px/1.5 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.gallery-site .page-wrap{margin:0}.gallery-site a:focus-visible,.gallery-site button:focus-visible,.gallery-site input:focus-visible,.gallery-site select:focus-visible{outline:2px solid #f4ce62;outline-offset:3px}.gallery-site svg{width:19px;height:19px}.gallery-site .sidebar.gallery-header{position:sticky;inset:0 0 auto;width:100%;height:68px;padding:0;background:#0a1620f5;border:0;border-bottom:1px solid #243745;backdrop-filter:blur(14px);z-index:20;display:block}.gallery-site .header-inner{height:100%;max-width:1816px;margin:auto;padding:0 28px;display:flex;align-items:center;gap:35px}.gallery-site .brand{padding:0;gap:12px;font-size:27px;letter-spacing:-.9px;font-weight:800;white-space:nowrap;color:#f4ce62}.gallery-site .brand-lilac{color:#f4ce62}.gallery-site .brand small{font-size:7px;letter-spacing:1.35px;line-height:1.2;color:#95aabb;margin-top:5px}.gallery-ball{flex:none;position:relative;display:inline-block;width:34px;height:34px;border-radius:50%;border:2px solid #101e28;background:linear-gradient(170deg,#f75045 0 43%,#0e1c28 44% 55%,#ebf2f6 56%);box-shadow:0 0 0 1px #9dafbd80,0 2px 5px #0004}.gallery-ball:after{content:"";position:absolute;width:11px;height:11px;border:3px solid #102330;background:#fff;border-radius:50%;left:8px;top:8px}.gallery-site #main-nav{display:flex;position:static;align-items:center;gap:25px;max-height:none;padding:0;background:transparent;box-shadow:none;overflow:visible}.gallery-site #main-nav>a{display:flex;height:68px;align-items:center;font-size:12px;font-weight:600;padding:0 1px;margin:0;border:0;border-radius:0;color:#bbcad5;box-shadow:none;position:relative;background:transparent}.gallery-site #main-nav>a.active{color:#f4ce62;background:transparent}.gallery-site #main-nav>a.active:after{position:absolute;content:"";height:2px;left:0;right:0;bottom:0;background:#f4ce62}.gallery-site #main-nav>a:hover{color:#fff}.gallery-site .header-actions{display:flex;align-items:center;gap:13px;margin-left:auto}.gallery-site .header-search{background:#101f2c;border:1px solid #294150;border-radius:7px;display:flex;align-items:center;gap:10px;padding:8px 12px;color:#9fb2c3;font-size:10px;height:34px;width:210px}.gallery-site .header-search>span{white-space:nowrap}.gallery-site .header-search kbd{margin-left:auto;font:11px ui-monospace,monospace;color:#9eb0c0;border:1px solid #385265;border-radius:3px;padding:0 4px}.gallery-site .gallery-wishlist{display:flex;color:#a6b9c7}.gallery-site .header-cta{height:34px;display:flex;align-items:center;gap:8px;padding:0 11px;background:#101f2c;border:1px solid #294150;border-radius:7px;font-size:11px;color:#d5e0e9}.gallery-site .nav-counter{background:#294250;color:#f4ce62;font-size:10px;margin:0;min-width:20px;text-align:center}.gallery-site .mobile-toggle{display:none}
.gallery-site main{max-width:1816px;padding:0 28px 25px;margin:auto}.gallery-site .explore-page{padding:0;min-height:calc(100vh - 205px)}.gallery-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:26px 0 17px}.gallery-site .page-title{font-size:26px;font-weight:720;letter-spacing:-.7px;line-height:1.15;margin:0}.gallery-site #page-description{font-size:11px;color:#8ea4b7;margin:7px 0 0;line-height:1.6}.gallery-feed-note{font-size:10px;color:#9eb4c5;display:flex;gap:7px;align-items:center;white-space:nowrap}.gallery-feed-note i{width:5px;height:5px;background:#d1b251;border-radius:50%;display:inline-block}.gallery-search-form{display:flex;gap:10px}.gallery-site .search-field{flex:1;min-width:0;display:flex;align-items:center;gap:11px;background:#101f2b;border:1px solid #355164;border-radius:7px;padding:0 15px}.gallery-site .search-field svg{color:#a9bbc8;width:18px}.gallery-site .search-field input{width:100%;min-width:0;height:44px;border:0;outline:none;background:transparent;color:#f0f5f7;font-size:12px;line-height:1.4}.gallery-site .search-field input::placeholder{color:#93a8bc;font-size:12px}.gallery-site .button-primary{border:1px solid #f7d881;border-radius:7px;background:linear-gradient(#f8db82,#f1c652);color:#17232b;font-weight:750;box-shadow:0 2px 4px #0002}.gallery-search-form>.button-primary{gap:8px;font-size:12px;padding:0 22px}.gallery-site .button-light{background:#112331;color:#d3e0e9;border:1px solid #365060}.gallery-filterbar{display:flex;align-items:stretch;gap:10px;margin:10px 0 14px}.gallery-filter,.gallery-site .catalogue-options>label{display:flex;flex-direction:column;gap:2px;min-width:0;border:1px solid #283e4e;border-radius:6px;background:#0d1d29;padding:5px 10px;flex:1}.gallery-filter>label,.gallery-filterbar label{font-size:8px;color:#879ead;line-height:1.2}.gallery-filter select,.gallery-site .catalogue-options select{display:block;background:transparent;color:#e5edf3;border:0;border-radius:0;font-weight:500;font-size:11px;height:20px;max-width:100%;width:100%;padding:0;margin:1px 0 0;color-scheme:dark}.gallery-filterbar .catalogue-options{display:flex;align-items:stretch;gap:10px;flex:2;margin:0;padding:0;min-width:0}.gallery-filterbar #set-filter-wrap{flex:1.65}.gallery-sort{flex:1}.gallery-reset,.gallery-refresh{flex:none;display:flex;align-items:center;justify-content:center;gap:6px;border:0;background:transparent;padding:0 6px;color:#a1b4c4;font-size:10px}.gallery-reset:hover,.gallery-refresh:hover{color:#f4ce62}.gallery-refresh svg{width:16px}.gallery-refresh>span{display:none}.gallery-reset{border-left:1px solid #253947;padding-left:12px}
.gallery-set-shelf{border:1px solid #233b4a;border-radius:8px;background:#0a1a25;padding:10px 11px 11px;margin:0 0 14px}.gallery-shelf-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 8px}.gallery-shelf-head h2{display:flex;align-items:center;gap:7px;margin:0;font-size:12px;font-weight:650;color:#dce7ed;letter-spacing:0}.gallery-shelf-head h2 svg{width:14px;height:14px;color:#f3cf68}.gallery-shelf-head>a{font-size:10px;color:#a8c6da}.gallery-set-strip{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:9px}.gallery-site .gallery-set-strip .set-tile{border:1px solid #2b4150;border-radius:6px;display:grid;grid-template-columns:65px minmax(0,1fr);gap:7px;align-items:center;min-width:0;min-height:66px;background:#10222e;box-shadow:none;transform:none;margin:0}.gallery-site .gallery-set-strip .set-art{width:65px;height:64px;min-height:0;max-height:none;padding:7px;overflow:hidden;border:0;border-radius:5px 0 0 5px;background:#182b37}.gallery-site .gallery-set-strip .logo-frame{inset:6px;top:6px;width:auto;height:auto;max-width:none;padding:0;transform:none;display:flex;align-items:center;justify-content:center}.gallery-site .gallery-set-strip .set-logo{position:static;max-width:100%;max-height:100%;height:auto;width:auto;object-fit:contain;filter:none}.gallery-site .gallery-set-strip .set-art-collage{inset:0}.gallery-site .gallery-set-strip .set-art-collage img{opacity:.3}.gallery-site .gallery-set-strip .set-shade{background:#0a1a2430}.gallery-site .gallery-set-strip .set-copy{padding:7px 5px 7px 0;min-height:0;height:auto;border:0;display:block;min-width:0;background:transparent}.gallery-site .gallery-set-strip .set-copy h3{font-size:10px;line-height:1.4;font-weight:650;white-space:normal;margin:0;padding:0;min-height:0}.gallery-site .gallery-set-strip .set-copy>small,.gallery-site .gallery-set-strip .set-count,.gallery-site .gallery-set-strip .set-art-credit,.gallery-site .gallery-set-strip .set-visual-tag,.gallery-site .gallery-set-strip .set-fallback-caption,.gallery-site .gallery-set-strip .set-visual-base>small{display:none}.gallery-set-strip .set-tile:hover{border-color:#d6b958!important;background:#142a35!important}.gallery-set-strip .set-tile[data-selected="true"]{border-color:#f4ce62;box-shadow:0 0 0 1px #f4ce6240}
.gallery-results-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 12px;min-height:30px}.gallery-site .catalogue-status{font-size:10px;color:#a4b9c9;margin:0;line-height:1.6;min-height:0}.gallery-view-controls{display:flex;gap:0;align-items:center;background:#101f2b;border:1px solid #2f4859;border-radius:6px;overflow:hidden;flex:none}.gallery-view-controls button{display:flex;align-items:center;justify-content:center;gap:6px;background:transparent;border:0;color:#8fa8ba;min-width:34px;height:28px;font-size:9px;padding:0 8px}.gallery-view-controls button.active{background:#f4ce621b;color:#f4ce62;box-shadow:inset 0 -2px #f4ce62}.gallery-view-controls svg{width:13px;height:13px}.gallery-site #results.card-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:12px;align-items:stretch}.gallery-site #results.card-grid.large-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.gallery-site #results .card-tile{min-width:0;display:flex;flex-direction:column;background:linear-gradient(145deg,#112431,#0c1b26);border:1px solid #2d4554;border-radius:9px;padding:7px;overflow:visible;box-shadow:0 2px 5px #0002;transition:border-color .15s,box-shadow .15s;transform:none}.gallery-site #results .card-tile:hover{transform:none;border-color:#7f7755;box-shadow:0 4px 14px #0004}.gallery-site #results .card-image-link{display:block;position:relative;aspect-ratio:245/342;width:100%;height:auto;flex:none;margin:0 0 9px;padding:0;border-radius:5px;overflow:hidden;background:#142836}.gallery-site #results .card-image-link img{display:block;width:100%;height:100%;aspect-ratio:245/342;object-fit:contain!important;object-position:center;max-height:none;padding:0;margin:0;border:0;border-radius:5px;transform:none!important;filter:none}.gallery-site #results .card-name{font-size:12px;line-height:1.3;font-weight:660;margin:0 2px 3px;color:#edf4f9;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.gallery-site #results .card-set{font-size:9px;color:#9aafc1;line-height:1.45;margin:0 2px 4px;min-width:0}.gallery-site #results .card-meta{font-size:8px;color:#8da5b5;margin:0 2px;gap:6px}.gallery-site #results .card-meta .tag{font-size:7px;background:#203644;color:#b0c4cf;padding:1px 4px;max-width:75%}.gallery-site #results .tile-pricing{margin:9px 2px 0;padding:8px 0 0;border-top:1px solid #253f4e;min-height:80px;display:flex;flex-direction:column;gap:1px;font-size:9px;line-height:1.4}.gallery-site #results .tile-pricing small{font-size:8px;color:#8faabb;font-weight:400;line-height:1.4;white-space:normal}.gallery-site #results .tile-pricing .market-value{font-size:17px;line-height:1.4;color:#f5d878;font-weight:750;letter-spacing:-.2px}.gallery-site #results .tile-pricing .price-unavailable{font-size:11px;color:#aac0cf;line-height:1.6}.gallery-site #results .tile-pricing .price-variant{font-size:8px;color:#a8bfcc;white-space:normal}.gallery-site #results .tile-pricing .price-stale{color:#dcb867}.gallery-site #results .card-bottom{display:flex;justify-content:space-between;align-items:center;margin:8px 2px 0;padding:7px 0 0;border-top:1px solid #253847;gap:5px;margin-top:auto}.gallery-site #results .card-bottom>a{font-size:9px;font-weight:600;color:#bcd0df}.gallery-site #results .wishlist-button{border:1px solid #64705b;color:#f2d577;border-radius:5px;width:27px;height:27px;background:#0d2130}.gallery-site #results .wishlist-button:hover,.gallery-site #results .wishlist-button.saved{background:#f4ce6229;border-color:#f4ce62}.gallery-site #results .wishlist-button svg{width:14px;height:14px}.gallery-site #results .price-entry-note{color:#829ba9;font-size:8px}.gallery-site #results .art-missing{background:#152c38;color:#92a8b7;font-size:10px;min-height:100%}.gallery-site #results.set-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}.gallery-site #results.set-grid .set-tile{border-radius:9px}.gallery-site .collection-toolbar{padding:12px 0;margin-bottom:8px}.gallery-site #collection-totals{font-size:11px;line-height:1.6}.gallery-site .pagination{padding:20px 0 8px;margin:14px 0;gap:18px}.gallery-site .pagination span{color:#92adbd;font-size:11px}.gallery-site .pagination .button-light{font-size:11px;padding:9px 15px}.gallery-market-note{font-size:10px;color:#91a8b8;line-height:1.7;margin:14px 0 7px;border-top:1px solid #203646;padding-top:15px}.gallery-coverage{font-size:10px;line-height:1.8;color:#91a8b8}.gallery-coverage summary{cursor:pointer;color:#c0d0d9}.gallery-coverage p{max-width:980px;margin:6px 0}.gallery-coverage a{color:#efd381}.gallery-site .gallery-footer{max-width:1760px;margin:0 auto;padding:20px 28px 23px;display:flex;align-items:center;gap:16px;flex-wrap:wrap;border-top:1px solid #223b4c}.gallery-footer .footer-brand{display:flex;align-items:center;gap:10px;color:#f4ce62;font-size:21px;letter-spacing:-.5px}.gallery-footer .gallery-ball{width:28px;height:28px}.gallery-footer .gallery-ball:after{width:9px;height:9px;border-width:2px;left:7px;top:7px}.gallery-footer>span{font-size:10px;color:#8b9eac}.gallery-footer nav{display:flex;gap:22px;margin-left:auto}.gallery-footer nav>a{color:#91aabb;border:0;background:none;font-size:10px;font-weight:400;margin:0;padding:0;box-shadow:none}.gallery-footer .legal{color:#6f899c;max-width:1100px;flex-basis:100%;font-size:9px;line-height:1.7}.gallery-site .empty-state{background:#10222e;color:#8facbf;border-color:#284553;grid-column:1/-1}.gallery-site .empty-state h2{color:#e6edf2}.gallery-site #toast{left:50%;bottom:20px}.gallery-site .detail-art img{object-fit:contain!important;max-height:none}.gallery-site dialog{border:1px solid #344f60}.gallery-site .quantity-row{flex-wrap:wrap}.gallery-site .quantity-row button:last-child{margin-left:0}.gallery-site .skip-link{left:20px}
@media(min-width:1800px){.gallery-site #results.card-grid{grid-template-columns:repeat(8,minmax(0,1fr))}.gallery-site #results.card-grid.large-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.gallery-site #results .card-name{font-size:13px}.gallery-site #results .card-set{font-size:10px}.gallery-site #results .tile-pricing small,.gallery-site #results .tile-pricing .price-variant{font-size:9px}}
@media(max-width:1250px){.gallery-site .header-inner{gap:25px}.gallery-site #main-nav{gap:19px}.gallery-site .header-search{width:35px;padding:0;justify-content:center}.gallery-site .header-search span,.gallery-site .header-search kbd{display:none}.gallery-site .header-actions{gap:12px}.gallery-site #results.card-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.gallery-site #results.card-grid.large-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.gallery-set-strip{display:flex;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#304d5a transparent;padding-bottom:4px}.gallery-site .gallery-set-strip .set-tile{flex:0 0 158px}.gallery-site #results.set-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:950px){.gallery-site .brand{font-size:23px}.gallery-site #main-nav{gap:15px}.gallery-site #main-nav>a{font-size:11px}.gallery-site .header-cta>span:not(.nav-counter){display:none}.gallery-site main{padding:0 20px 22px}.gallery-site .header-inner{padding:0 20px;gap:24px}.gallery-site #results.card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.gallery-site #results.card-grid.large-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.gallery-filterbar{gap:7px;flex-wrap:wrap}.gallery-filterbar #set-filter-wrap{flex:1.3}.gallery-filterbar .catalogue-options{flex:2;gap:7px}.gallery-sort{flex:1}.gallery-site #results.set-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.gallery-view-controls button span{display:none}}
@media(max-width:720px){.gallery-site .sidebar.gallery-header{height:62px}.gallery-site .header-inner{padding:0 16px;gap:10px}.gallery-site .brand{font-size:23px;gap:9px}.gallery-site .brand small{font-size:6px;letter-spacing:1.1px}.gallery-ball{width:30px;height:30px}.gallery-ball:after{width:9px;height:9px;left:7px;top:7px}.gallery-site .header-actions{margin-left:auto;gap:10px}.gallery-site .header-search,.gallery-site .gallery-wishlist{display:none}.gallery-site .header-cta{padding:0 8px;height:32px;gap:5px}.gallery-site .header-cta svg{width:16px}.gallery-site .mobile-toggle{display:block;order:3;position:static;margin:0 0 0 4px;flex:none;width:33px;height:32px;line-height:1;background:#142a38;color:#d3e2ec;border:1px solid #365164;border-radius:6px;font-size:19px}.gallery-site #main-nav{display:none;position:absolute;left:0;right:0;top:61px;padding:12px 16px;background:#0e1f2c;border-bottom:1px solid #3a4f5f;box-shadow:0 8px 20px #0004;max-height:calc(100vh - 75px);overflow:auto}.gallery-site #main-nav.open{display:flex;flex-direction:column;align-items:stretch;gap:0}.gallery-site #main-nav>a{height:39px;padding:0 10px;font-size:13px}.gallery-site #main-nav>a.active:after{width:2px;height:auto;top:8px;bottom:8px;right:auto}.gallery-site main{padding:0 14px 20px}.gallery-intro{margin:19px 0 14px;gap:10px}.gallery-site .page-title{font-size:23px;letter-spacing:-.5px}.gallery-site #page-description{font-size:10px;line-height:1.55;margin-top:6px}.gallery-feed-note{display:none}.gallery-search-form{gap:7px}.gallery-site .search-field{padding:0 10px;gap:8px}.gallery-site .search-field input{font-size:16px;height:42px}.gallery-site .search-field input::placeholder{font-size:11px}.gallery-search-form>.button-primary{padding:0 13px;font-size:11px}.gallery-search-form>.button-primary svg{display:none}.gallery-filterbar{display:grid;grid-template-columns:1.25fr 1fr;gap:8px;position:relative}.gallery-filterbar .catalogue-options{display:contents}.gallery-filterbar #set-filter-wrap{grid-column:1/-1;min-width:0}.gallery-filterbar .gallery-sort{grid-column:2;grid-row:3}.gallery-filterbar>.gallery-reset{grid-column:1;border:0;justify-content:flex-start;padding:0;height:26px}.gallery-filterbar>.gallery-refresh{grid-column:2;justify-content:flex-end;padding:0;height:26px}.gallery-filterbar .gallery-refresh span{display:inline}.gallery-filterbar label{font-size:8px}.gallery-filter select,.gallery-site .catalogue-options select{font-size:16px;height:23px;font-weight:400;line-height:1.4}.gallery-filter,.gallery-site .catalogue-options>label{padding:5px 9px}.gallery-set-shelf{padding:9px 9px 7px;margin-top:0;margin-bottom:12px}.gallery-shelf-head{margin-bottom:7px}.gallery-shelf-head h2{font-size:11px}.gallery-set-strip{gap:7px}.gallery-site .gallery-set-strip .set-tile{flex-basis:148px;grid-template-columns:53px 1fr;min-height:54px;gap:7px}.gallery-site .gallery-set-strip .set-art{width:53px;height:52px;padding:5px}.gallery-site .gallery-set-strip .set-copy h3{font-size:9px}.gallery-site #results.card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gallery-site #results.card-grid.large-grid{grid-template-columns:repeat(1,minmax(0,1fr))}.gallery-site #results.card-grid.large-grid .card-image-link{max-width:310px;align-self:center}.gallery-site #results .card-tile{padding:7px;border-radius:8px}.gallery-site #results .card-name{font-size:12px}.gallery-site #results .card-set{font-size:9px}.gallery-site #results .card-meta{font-size:8px}.gallery-site #results .tile-pricing{min-height:86px}.gallery-site #results .tile-pricing small{font-size:8px}.gallery-site #results .tile-pricing .market-value{font-size:18px}.gallery-site #results .card-bottom>a{font-size:9px}.gallery-site #results .wishlist-button{width:28px;height:28px}.gallery-site .catalogue-status{font-size:9px;max-width:76%}.gallery-results-head{gap:8px;align-items:center}.gallery-view-controls button{min-width:29px;padding:0 6px}.gallery-site #results.set-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gallery-site .pagination .button-light{padding:8px 10px;font-size:10px}.gallery-site .pagination>span{font-size:10px}.gallery-site .gallery-footer{margin:0 14px;padding:18px 0 20px;gap:12px}.gallery-footer nav{margin-left:0;gap:19px;flex-basis:100%;flex-wrap:wrap}.gallery-footer>span{font-size:9px}.gallery-footer .legal{font-size:8px}.gallery-site .collection-toolbar .button-light{font-size:10px}.gallery-site #collection-totals{font-size:10px}}
@media(prefers-reduced-motion:reduce){.gallery-site *{scroll-behavior:auto!important;transition:none!important}}

/* The compact shelf overrides only the older, full-size set-panel rules. */
.gallery-site .gallery-set-strip .set-tile{height:68px;max-height:68px;min-height:68px;grid-template-rows:66px}.gallery-site .gallery-set-strip .set-art{height:66px!important;min-height:0!important;max-height:66px!important;padding:0!important}.gallery-site .gallery-set-strip .logo-frame{inset:5px!important;padding:0!important;width:auto!important;height:auto!important}.gallery-site .gallery-set-strip .set-logo{width:100%!important;height:100%!important;max-height:54px!important;max-width:100%!important;object-fit:contain!important}.gallery-site .gallery-set-strip .set-copy{padding:4px 6px 4px 0!important}.gallery-site .gallery-set-strip .set-copy h3{margin:0!important;min-height:0!important;font-size:10px!important}.gallery-site .gallery-set-strip .set-art-collage{padding:4px!important}.gallery-site .gallery-set-strip .set-art-collage img{height:60px!important;max-width:90%;opacity:.25!important}.gallery-site .gallery-set-strip .set-shade{background:#071a2415!important}
@media(max-width:720px){.gallery-site .gallery-set-strip .set-tile{height:58px;max-height:58px;min-height:58px;grid-template-rows:56px}.gallery-site .gallery-set-strip .set-art{height:56px!important;max-height:56px!important}.gallery-site .gallery-set-strip .set-logo{max-height:44px!important}.gallery-site .gallery-set-strip .set-copy h3{font-size:9px!important}.gallery-site .gallery-set-strip .set-art-collage img{height:52px!important}}

/* POKESAGE_DROPDOWN_CONTRAST_20261014
   Native dropdown menus need explicit option colors on Windows.
   Keep the native controls, keyboard behavior and all enabled options. */
body.gallery-site select {
  color-scheme: dark;
  color: #edf4fa;
  background-color: #102330;
}
body.gallery-site select option,
body.gallery-site select optgroup {
  color: #edf4fa;
  background-color: #102330;
  opacity: 1;
}
body.gallery-site select option:checked {
  color: #102330;
  background-color: #f4ce62;
}
body.gallery-site select:disabled,
body.gallery-site select option:disabled,
body.gallery-site select optgroup:disabled {
  color: #aebfcc;
  background-color: #162a38;
  opacity: 1;
}
@media (forced-colors: active) {
  body.gallery-site select,
  body.gallery-site select option,
  body.gallery-site select optgroup {
    color-scheme: light dark;
    forced-color-adjust: auto;
    color: CanvasText;
    background-color: Canvas;
  }
  body.gallery-site select option:checked {
    color: HighlightText;
    background-color: Highlight;
  }
  body.gallery-site select:disabled,
  body.gallery-site select option:disabled,
  body.gallery-site select optgroup:disabled { color: GrayText; }
}

/* POKESAGE_SMART_SEARCH_20261014: same catalogue, local-only collector tools. */
.gallery-site .gallery-search-form{position:relative;isolation:isolate;z-index:25}
.gallery-site .search-suggestions{position:absolute;top:calc(100% + 7px);left:0;width:min(640px,100%);max-height:min(495px,70vh);overflow:auto;background:#102330;border:1px solid #496577;border-radius:9px;box-shadow:0 12px 28px #0009;padding:7px;box-sizing:border-box;z-index:1;color:#edf4fa}
.gallery-site .search-suggestions[hidden],.gallery-site #ownership-filter-wrap[hidden],.gallery-site #ownership-explanation[hidden],.gallery-site .gallery-card-state[hidden]{display:none!important}
.search-suggestion-caption{padding:5px 9px 8px;color:#adbfce;font-size:11px;letter-spacing:.15px}
.gallery-site .card-suggestion{display:flex;align-items:center;gap:13px;min-height:65px;border:1px solid transparent;border-radius:6px;padding:7px 9px;text-decoration:none;background:transparent;color:#edf4fa;box-sizing:border-box;transform:none}
.gallery-site .card-suggestion:hover,.gallery-site .card-suggestion[aria-selected="true"]{background:#203a48;border-color:#c9ab55;color:#fff}
.gallery-site .suggestion-art{display:flex;align-items:center;justify-content:center;width:36px;height:50px;flex:0 0 36px;background:#182e3d;border-radius:3px;overflow:hidden}
.gallery-site .suggestion-art img{width:36px;height:50px;object-fit:contain;display:block;transform:none}
.gallery-site .suggestion-art .art-missing{font-size:7px;line-height:1.25;text-align:center;min-height:0;width:36px;height:50px;overflow:hidden}
.suggestion-info{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}.suggestion-info strong{font-size:13px;line-height:1.3;overflow-wrap:anywhere}.suggestion-info small{font-size:11px;color:#b2c6d4;line-height:1.5;overflow-wrap:anywhere}
.suggestion-arrow{color:#f4ce62;font-size:17px;flex:none}.suggestion-owned{color:#a5e5cf;background:#194238;padding:2px 7px;border-radius:4px;font-size:11px;flex:none}
.gallery-site #show-search-results{display:block;width:100%;text-align:left;margin:5px 0 0;padding:12px 10px;border:0;border-top:1px solid #375366;border-radius:0 0 4px 4px;background:#122936;color:#f4ce62;font-size:12px;cursor:pointer}
.gallery-site #ownership-filter-wrap{min-width:112px}.gallery-site #ownership-explanation{font-size:11px;color:#abc2d1;line-height:1.6;margin:-4px 0 13px}.gallery-site #ownership-explanation:empty{display:none}
.gallery-site #results .gallery-card-state{font-size:9px;line-height:1.4;color:#a5e5cf;margin:5px 2px 0;padding:3px 5px;background:#16372e;border-radius:4px;width:fit-content;max-width:100%;box-sizing:border-box}
@media(max-width:720px){.gallery-site .search-suggestions{width:100%;max-height:65vh}.gallery-site #ownership-filter-wrap{grid-row:4;grid-column:1/-1}.gallery-site .gallery-filterbar:has(#ownership-filter-wrap:not([hidden]))>.gallery-reset{grid-row:5}.gallery-site .gallery-filterbar:has(#ownership-filter-wrap:not([hidden]))>.gallery-refresh{grid-row:5}.gallery-site .card-suggestion{gap:10px;min-height:65px;padding:6px}.suggestion-info strong{font-size:13px}.suggestion-info small{font-size:10px}.gallery-site #show-search-results{font-size:11px}}
@media(forced-colors:active){.gallery-site .search-suggestions{background:Canvas;color:CanvasText;border-color:CanvasText}.gallery-site .card-suggestion{color:LinkText}.gallery-site .card-suggestion[aria-selected="true"]{outline:2px solid Highlight}.gallery-site .suggestion-info small{color:CanvasText}}
