/* Focused refinements of the existing MundoDex components. */
/* The same quiet quantity strip for Trocas and Lista de Desejo. */
html body .list-quantity{display:grid;grid-template-columns:32px minmax(18px,1fr) 32px;align-items:center;min-width:90px;max-width:140px;isolation:isolate;color:var(--mdx-control-ink,#164c7c)}
html body .list-quantity.has-grade{grid-template-columns:28px minmax(14px,1fr) 32px 28px;min-width:102px}
html body .list-quantity button{display:grid;place-items:center;min-height:44px;width:100%;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font:600 19px/1 var(--ah-font-ui)}
html body .list-quantity output{font:600 14px/1 var(--ah-font-ui);text-align:center}
html body .list-quantity select{appearance:none;width:32px;min-height:24px;padding:0;border:0;background:transparent;color:inherit;font:600 10px/1 var(--ah-font-ui);text-align:center}
html body .card-grid .card-image>.list-quantity{position:absolute;inset:auto 0 0;z-index:6;width:100%;max-width:none;min-width:0;height:44px;align-items:end;container-type:normal}
html body .card-grid .card-image>.list-quantity::before{content:'';position:absolute;inset:auto 0 0;height:20px;z-index:-1;border:1px solid var(--mdx-control-line,#bad3e8);border-radius:10px;background:color-mix(in srgb,var(--mdx-control-bg,#fff) 72%,transparent)}
html body .card-grid .card-image>.list-quantity button{align-items:end;padding-bottom:1px;font-size:17px}
html body .card-grid .card-image>.list-quantity output{padding-bottom:3px;font-size:12px}
html body .card-grid .card-image>.list-quantity select{min-height:20px;height:20px;padding-bottom:1px}
html body .list-quantity button:focus-visible,html body .list-quantity select:focus-visible{outline:2px solid currentColor;outline-offset:-2px}
.trade-withdraw-pending{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:12px 0;padding:10px;border:1px solid var(--mdx-control-line);border-radius:12px;background:var(--mdx-control-bg);color:var(--mdx-control-ink)}
/* Shared filter panels use their actual available height, including in dialogs. */
html body .multi-panel-portal{display:flex;flex-direction:column;box-sizing:border-box;overflow:auto}
html body .multi-panel-portal[hidden]{display:none}
html body .multi-panel-portal>.multi-options{flex:1 1 auto;min-height:0;max-height:none;overflow-y:auto}
html body .multi-panel-portal>:not(.multi-options){flex-shrink:0}
html body .multi-actions{display:flex;flex-wrap:wrap;gap:6px}
html body .multi-actions>.multi-clear{min-height:36px;cursor:pointer}
html body .multi-actions>.multi-clear:disabled{opacity:.55;cursor:default}
html body #vbind-config.vbind-guide .vbind-guide-target-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(190px,.65fr);gap:14px 16px}
html body #vbind-config.vbind-guide .vbind-guide-check{align-self:end}
html body main.vbind-module.vbind-editing .vbind-summary[hidden]{display:none!important}
@media(max-width:600px){html body #vbind-config.vbind-guide .vbind-guide-target-controls{grid-template-columns:minmax(0,1fr)}}
/* The existing price strip becomes the add action on pointer/focus interaction. */
main.vbind-module .vbind-has-reading-price>.vbind-add-card>.vbind-add-caption{height:clamp(16px,18cqi,24px);font-size:clamp(8px,8cqi,12px)}
@media(hover:hover) and (pointer:fine){
 main.vbind-module .vbind-has-reading-price:has(>.vbind-add-card):is(:hover,:focus-within)>[data-vbind-reading-price]{visibility:hidden}
}
/* Touch keeps a visible plus beside the price in the same thin strip. */
@media(hover:none),(pointer:coarse),(any-pointer:coarse){
 main.vbind-module .vbind-has-reading-price:has(>.vbind-add-card)>[data-vbind-reading-price]{visibility:visible;padding-right:22px}
 main.vbind-module .vbind-card-face.vbind-has-reading-price>.vbind-add-card{z-index:5}
 main.vbind-module .vbind-has-reading-price>.vbind-add-card>.vbind-add-caption{left:auto;right:0;width:22px;border-color:transparent;background:transparent}
 main.vbind-module .vbind-has-reading-price .vbind-add-caption>:is(.vbind-add-label,.vbind-add-short){display:none}
 main.vbind-module .vbind-has-reading-price .vbind-add-caption>svg{display:block;width:12px;height:12px;flex:0 0 12px}
}
/* The shared DOM order also applies to the desktop sidebar, including Scan. */
@media(min-width:801px){
 :root[data-product="mundodex"] body.has-scanner-nav .sidebar nav[aria-label="Navegação principal"]>.scanner-nav{display:flex}
}
html body .button.marker-generator {
  background:var(--ah-gold,#d9a320);color:#10233f;border-color:transparent;
  font-weight:700;min-height:44px;
}
html body .button.marker-generator:is(:hover,:focus-visible){background:#edbd48;color:#10233f}
html body .button.marker-generator:focus-visible{outline:2px solid var(--mdx-control-ink,#10233f);outline-offset:3px}
main.vbind-module .vbind-main-actions{display:flex;flex-wrap:nowrap;align-items:stretch;gap:8px;min-width:0}
main.vbind-module .vbind-main-actions>.button{min-height:44px;white-space:normal;line-height:1.25;justify-content:center;text-align:center}
main.vbind-module .vbind-reading-controls{margin-left:auto;overflow:visible}
main.vbind-module .vbind-summary-group{container-type:inline-size}
main.vbind-module .vbind-summary-group>div{grid-template-columns:repeat(3,minmax(0,1fr))}
main.vbind-module .vbind-summary-group .vbind-summary-amount{grid-column:1/-1;display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;margin-top:4px}
main.vbind-module .vbind-summary-group [data-summary-value]{white-space:nowrap;overflow-wrap:normal;word-break:normal}
@container (min-width:560px){
 main.vbind-module .vbind-summary-group>div{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(max-content,1.6fr)}
 main.vbind-module .vbind-summary-group .vbind-summary-amount{grid-column:auto;display:block;margin:0}
}
/* One shared overlay for all binder kinds; it never changes the pocket height. */
main.vbind-module :is(.vbind-pocket,.vbind-gallery-card) .vbind-card-face{
 container-type:inline-size;container-name:vbind-card;
}
main.vbind-module :is(.vbind-pocket,.vbind-gallery-card) .vbind-card-face>.vbind-add-card{
 /* The transparent hit area stays generous; only the caption paints a band. */
 inset:auto 3px 3px;width:calc(100% - 6px);max-width:calc(100% - 6px);
 height:min(44px,calc(100% - 6px));min-height:0;padding:0;border:0;border-radius:0;
 background:transparent;box-shadow:none;white-space:nowrap;overflow:visible;
}
main.vbind-module :is(.vbind-pocket,.vbind-gallery-card) .vbind-card-face>.vbind-add-card:is(:hover,:focus-visible):not(:disabled){background:transparent}
main.vbind-module .vbind-add-caption{
 position:absolute;inset:auto 0 0;display:flex;align-items:center;justify-content:center;gap:3px;
 box-sizing:border-box;width:100%;height:22px;height:clamp(16px,22cqi,28px);
 padding:0 2px;border:1px solid var(--binder-line);border-radius:999px;
 background:color-mix(in srgb,var(--binder-surface) 70%,transparent);color:var(--binder-ink);
 font:600 11px/1.1 var(--ah-font-ui);font-size:clamp(9px,9.5cqi,13px);
 white-space:nowrap;overflow-wrap:normal;word-break:normal;pointer-events:none;
}
main.vbind-module .vbind-add-caption svg{
 flex:0 0 1em;width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:2;
 stroke-linecap:round;stroke-linejoin:round;
}
main.vbind-module .vbind-add-short{display:none}
/* Pointer-only disclosure keeps artwork clear without changing any pocket geometry.
   Opacity preserves keyboard access; focus reveals the same actions as hover. */
@media(hover:hover) and (pointer:fine){
 main.vbind-module .vbind-pocket .vbind-anchor-tools,
 main.vbind-module .vbind-edge-cell>.vbind-seam,
 main.vbind-module :is(.vbind-pocket,.vbind-gallery-card) .vbind-add-card{opacity:0;pointer-events:none}
 main.vbind-module .vbind-anchor-tools>button,
 main.vbind-module .vbind-edge-cell>.vbind-seam>button{pointer-events:none}
 main.vbind-module .vbind-pocket:is(:hover,:focus-within) .vbind-anchor-tools,
 main.vbind-module .vbind-edge-cell:is(.is-nearby,:hover,:focus-within)>.vbind-seam,
 main.vbind-module :is(.vbind-pocket,.vbind-gallery-card):is(:hover,:focus-within) .vbind-add-card{opacity:1;pointer-events:auto}
 main.vbind-module .vbind-pocket:is(:hover,:focus-within) .vbind-anchor-tools>button,
 main.vbind-module .vbind-edge-cell:is(.is-nearby,:hover,:focus-within)>.vbind-seam>button{pointer-events:auto}
}
/* Hybrid computers may have both a mouse and touch input. */
@media(any-pointer:coarse){
 main.vbind-module .vbind-pocket .vbind-anchor-tools,
 main.vbind-module .vbind-edge-cell>.vbind-seam,
 main.vbind-module :is(.vbind-pocket,.vbind-gallery-card) .vbind-add-card{opacity:1}
 main.vbind-module .vbind-anchor-tools>button,
 main.vbind-module .vbind-edge-cell>.vbind-seam>button,
 main.vbind-module :is(.vbind-pocket,.vbind-gallery-card) .vbind-add-card{pointer-events:auto}
}
main.vbind-module.vbind-busy :is(.vbind-anchor-tools>button,.vbind-seam>button){pointer-events:none}
/* Editing references share the thin, non-interactive card overlay. */
main.vbind-module .vbind-edit-price{
 position:absolute;inset:auto 3px 3px;z-index:4;box-sizing:border-box;
 display:flex;align-items:center;justify-content:center;width:calc(100% - 6px);
 height:22px;height:clamp(16px,18cqi,24px);padding:0 3px;
 border:1px solid var(--binder-line);border-radius:999px;
 background:color-mix(in srgb,var(--binder-surface) 85%,transparent);color:var(--binder-ink);
 font:600 11px/1.2 var(--ah-font-ui);font-size:clamp(8px,8cqi,12px);
 white-space:nowrap;font-variant-numeric:tabular-nums;pointer-events:none;
}
main.vbind-module .vbind-edit-price strong{font:inherit;white-space:nowrap}
main.vbind-module .vbind-edit-price-compact{display:none}
main.vbind-module .vbind-add-card:is(:hover,:focus-visible):not(:disabled)>.vbind-add-caption{background:color-mix(in srgb,var(--binder-surface) 85%,transparent)}
@container vbind-card (max-width:96px){
 main.vbind-module .vbind-edit-price-full{display:none}
 main.vbind-module .vbind-edit-price-compact{display:inline}
 main.vbind-module .vbind-add-caption>svg,
 main.vbind-module .vbind-add-caption>.vbind-add-label{display:none}
 main.vbind-module .vbind-add-short{display:inline}
}
@container vbind-card (max-width:64px){
 main.vbind-module .vbind-add-caption>svg{display:block;font-size:12px}
 main.vbind-module .vbind-add-short{display:none}
}
#card-dialog .card-wishlist .card-collection-action{
 display:inline-flex;align-items:center;justify-content:center;gap:8px;
 width:auto;max-width:100%;min-height:44px;height:auto;padding:10px 14px;
 background:var(--ah-ink,#173954);color:var(--ah-paper,#fff);border:1px solid transparent;
 font:600 13px/1.35 var(--ah-font-ui);white-space:normal;
}
#card-dialog .card-wishlist .card-collection-action>span{display:inline;font:inherit}
#card-dialog .card-wishlist .card-collection-action>svg{flex:0 0 20px;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
#card-dialog .card-wishlist .card-collection-action[aria-pressed=true]>svg{fill:currentColor}
#card-dialog .card-wishlist .card-collection-action:disabled{opacity:.55;cursor:not-allowed}
body[data-route=pokedex] .dex-species-card .dex-icon-image{transform:scale(1.1)}
.collection-value-summary{display:flex;flex-wrap:wrap;gap:12px 32px;margin:12px 0 18px;padding:12px 0;color:var(--ah-ink,#173954);border-block:1px solid var(--mdx-control-line,#b9cfe1)}
.collection-value-summary>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px;min-width:0}
.collection-value-summary strong{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:18px}
.collection-value-summary small{flex-basis:100%;font-size:12px;color:var(--mdx-control-ink,#173954)}
@media(max-width:600px){
 main.vbind-module .vbind-main-actions{display:grid;grid-template-columns:repeat(var(--vbind-action-count,3),minmax(0,1fr));gap:6px;width:100%;flex:1 0 100%}
 main.vbind-module .vbind-main-actions>.button{min-width:0;padding:8px 5px;font-size:12px;gap:4px;overflow-wrap:normal;word-break:normal}
 main.vbind-module .vbind-main-actions>.button svg{width:16px;height:16px;flex:0 0 16px}
 main.vbind-module .vbind-main-actions>.button span{min-width:0}
 body[data-route=pokemon] .catalog-display-controls{display:flex;flex-wrap:wrap;width:100%;overflow:visible}
 body[data-route=pokemon] .catalog-display-controls .set-ownership-slot{width:100%;flex:1 0 100%}
 body[data-route=pokemon] .catalog-display-controls .set-ownership-segment{display:grid;width:100%;grid-template-columns:repeat(3,minmax(0,1fr))}
 body[data-route=pokemon] .catalog-display-controls .set-ownership-segment button{width:100%;min-width:0;min-height:44px;padding:6px 3px;white-space:normal}
}

/* The view switch is the same component in the catalogue and in binders. */
html body .catalog-display-controls .mdx-view-toggle{display:flex;flex:0 0 auto;gap:3px;padding:3px;margin:0;border:1px solid var(--mdx-control-line);border-radius:24px;background:var(--mdx-control-bg);box-shadow:none}
html body .catalog-display-controls .mdx-view-toggle>button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:38px;width:auto;height:auto;padding:6px 12px;border:0;border-radius:20px;background:transparent;color:var(--mdx-control-ink);font:600 13px/1.3 var(--ah-font-ui);white-space:nowrap;box-shadow:none}
html body .catalog-display-controls .mdx-view-toggle>button:is(.active,[aria-pressed=true]){background:var(--mdx-control-active);color:var(--mdx-control-ink);box-shadow:none}
html body .catalog-display-controls .mdx-view-toggle>button>span:not(.filter-chip-icon){font-size:13px}
/* Objective and its two complete groups share one surface. */
html body .mdx-objective-panel{min-width:0;margin:12px 0 16px;padding:0;border:1px solid var(--mdx-control-line,#c9dceb);border-radius:14px;background:var(--mdx-control-bg,#f4f9fe);color:var(--mdx-control-ink,#173954);overflow:visible}
html body .mdx-objective-panel>.set-objective-bar{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:10px 14px;min-width:0;border:0;border-radius:14px 14px 0 0;background:transparent;box-shadow:none;overflow:visible}
html body .mdx-objective-panel>.set-objective-bar::before{content:none}
html body .mdx-objective-panel .set-objective-label{display:block;padding:0;white-space:nowrap;font-size:12px;color:var(--mdx-control-ink,#173954)}
html body .mdx-objective-panel .set-mode-toggle{display:flex;flex-wrap:nowrap;gap:4px;width:auto}
html body .mdx-objective-panel .set-mode-toggle button{white-space:nowrap;min-height:44px;font-size:12px;padding:7px 10px}
html body .mdx-objective-panel .mdx-objective-choices>label{display:flex;align-items:center;gap:8px;margin:0;font-size:12px;white-space:nowrap}
html body .mdx-objective-panel .catalog-summary,html body .mdx-objective-panel>[data-expansion-summary-root]{margin:0;padding:12px 14px;border:0;border-top:1px solid var(--mdx-control-line,#c9dceb);border-radius:0;background:transparent;box-shadow:none}
html body .catalog-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
html body .catalog-summary .catalog-summary-group{container-type:inline-size;min-width:0}
html body .catalog-summary .catalog-summary-group h2{margin:0 0 8px;font:700 14px/1.3 var(--ah-font-ui);white-space:nowrap;color:var(--mdx-control-ink,#173954)}
html body .catalog-summary .catalog-summary-group>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
html body .catalog-summary .catalog-summary-group span{min-width:0;white-space:nowrap;font-size:11px;line-height:1.35;color:var(--mdx-control-ink,#173954)}
html body .catalog-summary .catalog-summary-group strong{display:block;font-size:16px;line-height:1.35;white-space:nowrap;overflow-wrap:normal;word-break:normal;color:var(--mdx-control-ink,#173954);font-variant-numeric:tabular-nums}
html body .catalog-summary .vbind-summary-amount{grid-column:1/-1;display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 12px;margin-top:4px}
@container(min-width:540px){
 html body .catalog-summary .catalog-summary-group>div{grid-template-columns:repeat(3,minmax(0,1fr)) minmax(max-content,1.5fr)}
 html body .catalog-summary .vbind-summary-amount{grid-column:auto;display:block;margin:0}
}
@media(max-width:700px){
 html body .catalog-summary{grid-template-columns:1fr;gap:16px}
 html body .mdx-objective-panel>.set-objective-bar{flex-wrap:wrap;gap:8px}
 html body .mdx-objective-panel .set-mode-toggle{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:6px}
 html body .mdx-objective-panel .set-mode-toggle button{min-width:0;padding:7px 4px;gap:4px}
 html body .mdx-objective-panel .set-mode-toggle button:last-child{grid-column:1/-1}
 html body .mdx-objective-panel .set-mode-toggle svg{width:14px;height:14px;flex:0 0 14px}
 html body .mdx-objective-panel .mdx-objective-choices{max-width:100%}
}
html body .mdx-objective-panel>[data-expansion-summary-root]:has(>.catalog-summary){padding:0;border:0}
html body .mdx-objective-panel .catalog-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
@media(max-width:700px){html body .mdx-objective-panel .catalog-summary{grid-template-columns:1fr}}

/* Results have one order everywhere: count, view, ownership, contextual actions. */
html body .results-head.mdx-gallery-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 0}
html body .mdx-gallery-controls>#result-count,html body .mdx-gallery-controls>[data-gallery-count]{flex:1 0 100%;order:-2;font-size:13px}
html body .mdx-gallery-controls>.catalog-display-controls{display:flex;flex-wrap:wrap;gap:8px;order:-1;margin:0;overflow:visible;min-width:0;max-width:100%}
html body .mdx-gallery-controls .view-toggle{order:0;margin:0}
html body .mdx-gallery-controls .set-ownership-slot{order:1;margin:0}
html body .mdx-gallery-controls .set-ownership-segment button{min-height:38px;white-space:nowrap}
html body .mdx-gallery-controls>.catalog-result-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-left:auto;min-width:0;max-width:100%}
html body .mdx-gallery-controls>.catalog-result-actions>.button{order:0;margin:0;min-height:44px;white-space:normal}
main.vbind-module .vbind-toolbar.mdx-gallery-controls>.vbind-reading-controls{order:-1;margin:0 auto 0 0}
html body .mdx-gallery-controls>[hidden]{display:none!important}
@media(max-width:700px){
 html body .results-head.mdx-gallery-controls>.catalog-display-controls{flex:1 0 100%}
 html body .results-head.mdx-gallery-controls>.catalog-result-actions{flex:1 0 100%}
 html body .results-head.mdx-gallery-controls .set-ownership-slot{width:auto;flex:0 0 auto}
}

html[data-product=mundodex] body .results-head.mdx-gallery-controls .view-toggle{order:0;margin:0}
/* Normal-size controls remain consistent; overflow never shrinks their type. */
html body .mdx-filterbar>.mdx-filter-overflow[hidden]{display:none!important}
html body .mdx-filter-overflow{position:relative;flex:0 0 auto;margin:0;padding:0;border:0}
html body .mdx-more-trigger{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;height:44px;width:max-content;box-sizing:border-box;padding:0 14px;border:1px solid var(--mdx-control-line);border-radius:24px;background:var(--mdx-control-bg);color:var(--mdx-control-ink);font:600 14px/20px var(--ah-font-ui);letter-spacing:normal;white-space:nowrap;cursor:pointer;box-shadow:none}
html body .mdx-more-trigger[aria-expanded=true]{background:var(--mdx-control-active)}
html body .mdx-more-trigger:hover{border-color:var(--ah-line-strong,var(--mdx-control-ink))}
html body .mdx-more-trigger:focus-visible{outline:2px solid var(--mdx-control-ink);outline-offset:3px}
html body .mdx-more-trigger .filter-chip-icon{flex:0 0 20px;width:20px;height:20px}
html body .mdx-more-trigger svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html body .mdx-more-trigger>.mdx-more-chevron{flex:0 0 16px;width:16px;height:16px}
html body .mdx-more-count{display:none}
html[data-product=mundodex][data-color-mode] body[data-route] .mdx-filter-overflow-panel{position:fixed;inset:auto;z-index:1000;display:flex!important;flex-direction:column;align-items:stretch;flex-wrap:nowrap!important;gap:8px;width:380px;max-width:calc(100vw - 24px);max-height:65vh;box-sizing:border-box;overflow:auto!important;margin:0;padding:12px;border:1px solid var(--mdx-control-line);border-radius:14px;background:var(--mdx-control-bg);color:var(--mdx-control-ink);box-shadow:0 8px 24px #0002}
html[data-product=mundodex][data-color-mode] body[data-route] .mdx-filter-overflow-panel[hidden]{display:none!important}
html[data-product=mundodex][data-color-mode] body[data-route] .mdx-filter-overflow-panel::backdrop{background:transparent;pointer-events:none}
html[data-product=mundodex][data-color-mode] body[data-route] .mdx-filter-overflow-panel>:is(label,.multi-field,.button,.repeat-control){flex:0 0 auto;width:100%;min-width:0;max-width:100%;height:auto;min-height:44px;font-size:14px;letter-spacing:normal}
html[data-product=mundodex][data-color-mode] body[data-route] .mdx-filter-overflow-panel>.multi-field{display:flex;align-items:center;gap:8px;padding:0 14px}
html[data-product=mundodex][data-color-mode] body[data-route] .mdx-filter-overflow-panel .multi-picker{display:block;flex:1;min-width:0;width:100%;height:auto}
html[data-product=mundodex][data-color-mode] body[data-route] .mdx-filter-overflow-panel .multi-picker>summary{display:flex;align-items:center;min-width:0;min-height:42px;height:auto;padding:10px 22px 10px 0;box-sizing:border-box;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:break-word;font:600 14px/20px var(--ah-font-ui)}
 html[data-product=mundodex][data-color-mode] body[data-route] .mdx-filterbar>.multi-field{display:flex;align-items:center;gap:8px;height:44px;min-height:44px;padding:0 14px;font:600 14px/20px var(--ah-font-ui);letter-spacing:normal}
 html[data-product=mundodex][data-color-mode] body[data-route] .mdx-filterbar>.multi-field>.multi-picker{display:block;flex:0 0 auto;min-width:max-content;width:auto;height:42px}
 html[data-product=mundodex][data-color-mode] body[data-route] .mdx-filterbar>.multi-field>.multi-picker>summary{display:flex;align-items:center;min-height:42px;height:42px;box-sizing:border-box;padding:0 22px 0 0;white-space:nowrap;overflow:visible;text-overflow:clip;font:600 14px/20px var(--ah-font-ui);letter-spacing:normal}
@media(min-width:801px){
 html body .mdx-filterbar{display:flex!important;flex-wrap:nowrap!important;align-items:center;overflow:visible!important;gap:8px}
}

/* Editing alone uses the workspace edge to edge; reading keeps its normal width. */
html[data-product=mundodex] body.mdx-binder-editor .sidebar,
html[data-product=mundodex] body.mdx-binder-editor .workspace>.topbar,
html[data-product=mundodex] body.mdx-binder-editor .workspace>footer.legal-footer{display:none!important}
html[data-product=mundodex] body.mdx-binder-editor .workspace{margin-left:0!important;width:100%;min-height:100dvh}
html[data-product=mundodex] body.mdx-binder-editor .workspace>main#main{
 width:100%;max-width:none!important;margin:0;padding:16px clamp(12px,1.5vw,32px) 24px;box-sizing:border-box;
}
main.vbind-module .vbind-heading-actions:empty{display:none}
html[data-product=mundodex] body[data-route] .vbind-query .vbind-config-action{
 display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;
 margin-left:auto;min-height:44px;padding:0 14px;font:600 14px/20px var(--ah-font-ui);white-space:nowrap;
}
main.vbind-module .vbind-config-action svg{width:20px;height:20px;flex:0 0 20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
main.vbind-module.vbind-editing .vbind-query [data-vbind-pocket-filters],
main.vbind-module.vbind-editing .vbind-add-card,
main.vbind-module.vbind-editing #vbind-language-note{display:none!important}
html body main.vbind-module.vbind-editing .mdx-binder-navigation{display:none!important}
html body main.vbind-module.vbind-editing .vbind-query [data-vbind-mode]{display:inline-flex;align-items:center;justify-content:center;margin:0;min-height:44px;white-space:nowrap;flex:0 0 auto;font:600 14px/20px var(--ah-font-ui)}
html body main.vbind-module.vbind-editing .vbind-page-intro .sets-page-hero{min-height:72px;padding:12px 16px 12px 76px}
html body main.vbind-module.vbind-editing .sets-page-icon{width:48px;height:48px;left:12px;top:12px}
html body main.vbind-module.vbind-editing .sets-page-art{display:none}
html body main.vbind-module.vbind-editing .sets-page-copy h1{font-size:28px;line-height:1.15}
html body main.vbind-module.vbind-editing .sets-page-copy>p{max-width:none;font-size:13px;line-height:1.4}
html body main.vbind-module.vbind-editing .vbind-query{margin:0;padding:0 12px 8px}
html body main.vbind-module.vbind-editing .vbind-layout{grid-template-columns:minmax(0,1fr) clamp(300px,24vw,380px);gap:20px}
html body main.vbind-module.vbind-editing .vbind-layout.vbind-catalog-collapsed{grid-template-columns:minmax(0,1fr) 48px}
html body main.vbind-module.vbind-editing .vbind-book-shell,
html body main.vbind-module.vbind-editing .vbind-book-shell>.vbind-book{width:100%;max-width:100%}
html body main.vbind-module.vbind-editing .vbind-catalog{top:12px}
main.vbind-module .vbind-gallery-extra{display:flex;flex-direction:column;gap:6px;min-width:0}
main.vbind-module .vbind-gallery-extra[hidden]{display:none!important}
@media(max-width:1100px){
 html body main.vbind-module.vbind-editing :is(.vbind-layout,.vbind-layout.vbind-catalog-collapsed){grid-template-columns:minmax(0,1fr)}
 html body main.vbind-module.vbind-editing .vbind-catalog{position:static}
}
@media(max-width:600px){
 html body main.vbind-module.vbind-editing .sets-page-copy h1{font-size:23px}
 html body main.vbind-module.vbind-editing .vbind-query{padding-inline:8px}
 html body main.vbind-module.vbind-editing .vbind-query .acervo-filter-chips{flex-wrap:wrap!important;overflow:visible}
 html body main.vbind-module.vbind-editing .vbind-query .category-sort-filter{flex:1 0 100%}
 html[data-product=mundodex] body[data-route] main.vbind-module.vbind-editing .vbind-query :is(.vbind-config-action,[data-vbind-mode]){flex:1 1 0;min-width:0;padding-inline:8px;font-size:13px}
}

/* Expansion detail: values, objective, progress, filters, then navigation/actions. */
body[data-route=sets] .mdx-price-panel{margin:12px 0;padding:0;border:1px solid var(--mdx-control-line,#c9dceb);border-radius:14px;background:var(--mdx-control-bg,#f4f9fe);color:var(--mdx-control-ink,#173954);min-width:0}
html body[data-route=sets] .mdx-price-panel>.catalog-summary{margin:0;padding:12px 14px;border:0;background:transparent;box-shadow:none}
html body[data-route=sets] .mdx-expansion-controls{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0;padding:8px 12px;min-width:0}
html body[data-route=sets] .mdx-expansion-controls>.page-context-back{flex:1 1 auto;min-height:44px;white-space:normal}
html body[data-route=sets] .mdx-expansion-controls>.catalog-display-controls,
html body[data-route=sets] .mdx-expansion-controls>.catalog-result-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;margin:0}
html body[data-route=sets] .mdx-expansion-controls [data-export-pdf]{position:static;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;gap:8px;width:max-content;max-width:100%;margin:0;padding:10px 14px;min-height:44px;white-space:nowrap}
html body[data-route=sets] .mdx-expansion-controls [data-export-pdf]>svg{flex:0 0 18px;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html body[data-route=sets] .results-head[hidden]{display:none!important}
@media(max-width:600px){
 html body[data-route=sets] .mdx-expansion-controls>.page-context-back{flex:1 0 100%}
 html body[data-route=sets] .mdx-expansion-controls>.catalog-result-actions{flex:1 1 auto;justify-content:flex-end}
}

/* One reading path for card galleries, with contextual summaries kept above tools. */
html[data-product=mundodex] body[data-route] .mdx-gallery-query{
 position:relative;isolation:isolate;display:grid;gap:10px;min-width:0;max-width:100%;
 margin:12px 0 0;padding:10px;border:1px solid var(--mdx-control-line);
 border-radius:12px;background:linear-gradient(112deg,var(--mdx-control-bg),var(--mdx-control-active));
 color:var(--mdx-control-ink);overflow:visible;
}
html body .mdx-gallery-query>.acervo-search{margin:0}
html body .mdx-gallery-query>:is(.acervo-filter-chips,.set-detail-filter-chips){margin:0;padding:4px 0}
html body :is(.mdx-price-panel,.collection-value-summary){margin:12px 0;padding:12px 14px;border:1px solid var(--mdx-control-line);border-radius:14px;background:var(--mdx-control-bg);color:var(--mdx-control-ink);min-width:0}
html body .mdx-price-panel>.catalog-summary{margin:0;padding:0;border:0;background:transparent;box-shadow:none}
html body .collection-value-summary strong{font-size:16px}
html body .mdx-gallery-navigation{
 display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;max-width:100%;
 margin:12px 0;padding:8px 12px;
}
html body .mdx-gallery-navigation>.page-context-back{flex:1 1 auto;min-height:44px;white-space:normal}
html body .mdx-gallery-navigation>.page-context-forward{min-height:44px;white-space:normal}
html body .mdx-gallery-navigation>.catalog-display-controls,
html body .mdx-gallery-navigation>.catalog-result-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;max-width:100%;margin:0}
html body .mdx-gallery-navigation .catalog-result-actions>.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;max-width:100%;margin:0;padding:10px 14px;font:600 13px/1.3 var(--ah-font-ui);white-space:normal}
html body .mdx-gallery-navigation [data-export-pdf]{position:static;flex:0 0 auto;width:max-content;white-space:nowrap}
html body .mdx-gallery-navigation [data-export-pdf]>svg{flex:0 0 18px;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html body .results-head[hidden]{display:none!important}
html body .mdx-objective-panel:has(>.set-objective-bar:only-child)>.set-objective-bar{border-radius:14px}
/* Binder reading keeps its own actions, saving status and physical page model. */
html body main.vbind-module .mdx-price-panel{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
html body main.vbind-module .mdx-binder-navigation>.vbind-toolbar{
 display:flex;align-items:center;justify-content:flex-end;flex:1 1 640px;flex-wrap:wrap!important;
 min-width:0;max-width:100%;gap:8px;margin:0;padding:0;overflow:visible!important;
}
html body main.vbind-module .mdx-binder-navigation .vbind-reading-controls{order:0;margin:0 auto 0 0}
html body main.vbind-module .mdx-binder-navigation .vbind-main-actions{min-width:0;max-width:100%;margin:0}
html body main.vbind-module .vbind-return-bar:has(>.mdx-binder-navigation){gap:6px;margin:12px 0}
html body main.vbind-module .vbind-return-bar>.mdx-binder-navigation{flex:1 0 100%;margin:0}
html body main.vbind-module .vbind-return-bar>.vbind-status{margin:0 0 0 auto}
@media(max-width:700px){
 html body main.vbind-module .mdx-price-panel{grid-template-columns:1fr}
}
@media(max-width:600px){
 html[data-product=mundodex] body[data-route] .mdx-gallery-query{padding:8px}
 html body .mdx-gallery-navigation>.page-context-back{flex:1 0 100%}
 html body .mdx-gallery-navigation>.catalog-result-actions{flex:1 1 auto;justify-content:flex-end}
 html body main.vbind-module .mdx-binder-navigation>.vbind-toolbar{flex:1 0 100%}
}

/* On phones, view and markers share a row; creation keeps its own clear action. */
@media(min-width:361px) and (max-width:600px){
 html body .mdx-gallery-navigation:not(.mdx-binder-navigation){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
 html body .mdx-gallery-navigation:not(.mdx-binder-navigation)>.page-context-back{grid-column:1/-1;order:0}
 html body .mdx-gallery-navigation:not(.mdx-binder-navigation)>.page-context-forward{grid-column:1/-1;order:1}
 html body .mdx-gallery-navigation:not(.mdx-binder-navigation)>.catalog-display-controls{grid-column:1;order:2}
 html body .mdx-gallery-navigation:not(.mdx-binder-navigation)>.catalog-result-actions{display:contents}
 html body .mdx-gallery-navigation:not(.mdx-binder-navigation) [data-export-pdf]{grid-column:2;order:3}
 html body .mdx-gallery-navigation:not(.mdx-binder-navigation) [data-create-filtered-binder]{grid-column:1/-1;order:4;width:100%}
}

/* Creation uses semantic sections, not the gallery's compact filter strip. */
html body #vbind-config:is(.vbind-guide,.vbind-layout-config){
 width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 24px);padding:24px;
 color:var(--mdx-control-ink);background:var(--mdx-control-bg);border:1px solid var(--mdx-control-line);border-radius:16px;
}
html body #vbind-config:is(.vbind-guide,.vbind-layout-config) .vbind-guide-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 0 20px}
html body #vbind-config:is(.vbind-guide,.vbind-layout-config) h2{margin:0;font:750 24px/1.2 var(--ah-font-ui);overflow-wrap:break-word}
html body #vbind-config .vbind-guide-header>button{display:grid;place-items:center;flex:0 0 44px;width:44px;min-height:44px;padding:0;font-size:22px}
html body #vbind-config.vbind-guide form{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
html body #vbind-config.vbind-guide :is(.vbind-guide-format,.vbind-guide-section){
 min-width:0;grid-column:1/-1;margin:0;padding:16px 0 0;border:0;border-top:1px solid var(--mdx-control-line);border-radius:0;background:transparent;
}
html body #vbind-config.vbind-guide :is(.vbind-guide-format,.vbind-guide-section)>legend{padding:0 8px 0 0;font:700 16px/1.4 var(--ah-font-ui);color:var(--mdx-control-ink)}
html body #vbind-config.vbind-guide .vbind-guide-format{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px 16px}
html body #vbind-config.vbind-guide .vbind-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;align-items:start}
html body #vbind-config:is(.vbind-guide,.vbind-layout-config) label{min-width:0;display:flex;flex-direction:column;gap:6px;margin:0;font:600 14px/1.4 var(--ah-font-ui);color:var(--mdx-control-ink)}
html body #vbind-config:is(.vbind-guide,.vbind-layout-config) :is(input,select){box-sizing:border-box;min-width:0;width:100%;min-height:44px;font:400 16px/1.4 var(--ah-font-ui)}
html body #vbind-config.vbind-guide :is(.vbind-guide-target-block,.vbind-filter-selection){grid-column:1/-1;min-width:0}
html body #vbind-config.vbind-guide .vbind-guide-target-block{display:grid;gap:8px}
html body #vbind-config.vbind-guide .vbind-guide-targets{min-width:0;max-height:220px;margin:0;padding:4px;border:1px solid var(--mdx-control-line);background:transparent;border-radius:8px}
html body #vbind-config.vbind-guide .vbind-guide-targets label{display:flex;flex-direction:row;align-items:center;min-height:44px;gap:10px;margin:0;padding:8px;font-weight:400}
html body #vbind-config.vbind-guide .vbind-guide-search-status{margin:0;font:400 13px/1.4 var(--ah-font-ui);color:var(--mdx-control-ink)}
html body #vbind-config.vbind-guide .vbind-guide-selected{margin:0;gap:6px}
html body #vbind-config.vbind-guide .vbind-guide-selected .button{min-height:44px}
html body #vbind-config.vbind-guide .vbind-guide-check{flex-direction:row;align-items:center;min-height:44px;gap:10px}
html body #vbind-config.vbind-guide :is(.vbind-guide-check input,.vbind-guide-targets input){width:18px;min-width:18px;max-width:18px;min-height:18px;height:18px;flex:0 0 18px}
html body #vbind-config :is(.vbind-custom-dimensions,.vbind-format-summary){grid-column:1/-1}
html body #vbind-config .vbind-custom-dimensions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}
html body #vbind-config :is(.vbind-custom-dimensions,[data-guide-refine])[hidden]{display:none!important}
html body #vbind-config :is(.vbind-format-summary,#vbind-config-summary){margin:0;font:400 13px/1.45 var(--ah-font-ui);color:var(--mdx-control-ink);overflow-wrap:break-word}
html body #vbind-config.vbind-layout-config{width:min(520px,calc(100vw - 24px))}
html body #vbind-config.vbind-layout-config form{display:grid;gap:16px}
html body #vbind-config .vbind-layout-fields{display:grid;grid-template-columns:minmax(0,2fr) minmax(80px,1fr);gap:16px}
html body #vbind-config:is(.vbind-guide,.vbind-layout-config) .vbind-config-actions{position:static;display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin:0;padding:16px 0 0;border-top:1px solid var(--mdx-control-line);background:transparent}
html body #vbind-config:is(.vbind-guide,.vbind-layout-config) .vbind-config-actions .button{min-height:44px;white-space:normal;font-size:14px}
html body #vbind-config.vbind-guide .multi-field{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0;max-width:100%}
html body #vbind-config.vbind-guide .multi-caption{display:block;font:600 14px/1.4 var(--ah-font-ui);color:var(--mdx-control-ink)}
html body #vbind-config.vbind-guide .multi-picker{width:100%;min-width:0;max-width:100%}
html body #vbind-config.vbind-guide .multi-picker>summary{display:flex;align-items:center;min-height:44px;height:auto;white-space:normal;overflow:visible;text-overflow:clip;font:400 16px/1.4 var(--ah-font-ui);padding:10px 30px 10px 12px}
html body #vbind-config.vbind-guide .mdx-language-field>.filter-chip-icon{display:none}
html body #vbind-config .vbind-config-error:empty{display:none}
@media(max-width:600px){
 html body #vbind-config:is(.vbind-guide,.vbind-layout-config){padding:18px}
 html body #vbind-config.vbind-guide :is(.vbind-guide-grid,.vbind-guide-format){grid-template-columns:minmax(0,1fr)}
 html body #vbind-config.vbind-guide .vbind-guide-targets{max-height:180px}
 html body #vbind-config:is(.vbind-guide,.vbind-layout-config) h2{font-size:22px}
 html body #vbind-config .vbind-config-actions>.button{flex:1 1 auto}
}
/* A language field in a form is a labeled field, with no filter-chip shell. */
html body #vbind-config.vbind-guide .multi-field{width:100%;height:auto;min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
html body #vbind-config.vbind-guide .multi-caption{height:auto;min-height:0;margin:0;padding:0;border:0;background:transparent}
html body #vbind-config.vbind-guide .multi-picker{display:block;flex:initial;width:100%;height:auto;margin:0;padding:0;border:0}
html body #vbind-config.vbind-guide .multi-picker>summary{box-sizing:border-box;width:100%;height:auto;min-height:44px;margin:0;border:1px solid var(--mdx-control-line);border-radius:9px;background:var(--mdx-control-bg);color:var(--mdx-control-ink)}
html body #vbind-config.vbind-guide .mdx-language-field .multi-picker>summary::after{right:12px}
html body #vbind-config.vbind-layout-config .vbind-guide-header{margin:0}

html body #vbind-config .vbind-guide-header>button>svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}

/* Whole action labels reflow as controls, never as broken words. */
@media(max-width:600px){
 html body main.vbind-module .vbind-main-actions{display:flex;flex-wrap:wrap;gap:6px}
 html body main.vbind-module .vbind-main-actions>.button{flex:1 1 auto;min-width:max-content;white-space:nowrap}
}
/* Editing prioritizes a complete spread; reading keeps the existing hierarchy. */
@media(min-width:1024px){
 html[data-product=mundodex] body.mdx-binder-editor .workspace>main#main{display:grid;grid-template-columns:minmax(360px,1fr) minmax(0,2fr);gap:8px 12px;align-content:start;padding-top:8px}
 html body main#main.vbind-module.vbind-editing>.vbind-page-intro{grid-column:1/-1;margin:0}
 html body main#main.vbind-module.vbind-editing>.vbind-summary{display:none}
 html body main#main.vbind-module.vbind-editing .vbind-page-intro .sets-page-hero{min-height:52px;padding:8px 12px}
 html body main#main.vbind-module.vbind-editing .sets-page-icon{display:none}
 html body main#main.vbind-module.vbind-editing .sets-page-copy h1{font-size:20px;line-height:1.2}
 html body main#main.vbind-module.vbind-editing .sets-page-copy>p{margin:3px 0 0;font-size:12px}
 html body main#main.vbind-module.vbind-editing>.vbind-query{grid-column:1/-1;margin:0;padding:4px 8px}
 html body main#main.vbind-module.vbind-editing .vbind-query .acervo-filter-chips{gap:6px}
 html body main#main.vbind-module.vbind-editing>.vbind-return-bar{grid-column:1/-1;align-self:start;margin:0;gap:2px;align-items:flex-end}
 html body main#main.vbind-module.vbind-editing .mdx-binder-navigation{margin:0;padding:4px 0;border:0;background:transparent;box-shadow:none}
 html body main#main.vbind-module.vbind-editing .mdx-binder-navigation :is(.page-context-back,.page-context-forward,.vbind-reading-controls,.vbind-publish-actions){display:none}
 html body main#main.vbind-module.vbind-editing .mdx-binder-navigation>.vbind-toolbar{flex:1 1 auto;flex-wrap:nowrap!important;gap:6px}
 html body main#main.vbind-module.vbind-editing .vbind-return-bar>.vbind-status{min-height:20px;padding:0 4px;background:transparent;border:0;font-size:11px}
 html body main#main.vbind-module.vbind-editing>.vbind-layout{grid-column:1/-1;margin-top:0;gap:12px}
 html body main#main.vbind-module.vbind-editing .vbind-book-shell{width:min(100%,var(--vbind-book-width,100%));max-width:100%;margin-inline:auto}
 html body main#main.vbind-module.vbind-editing .vbind-book-shell>.vbind-book{width:100%;max-width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}
 html body main#main.vbind-module.vbind-editing .vbind-catalog{top:8px}
 html body main#main.vbind-module.vbind-editing .vbind-card-face>.vbind-trade-meta{
  position:absolute;inset:auto 4px 4px;z-index:4;width:calc(100% - 8px);min-height:28px;
  padding:3px 4px;gap:2px 6px;border-radius:5px;background:color-mix(in srgb,var(--binder-surface) 85%,transparent);
 }
 html body main#main.vbind-module.vbind-editing .vbind-card-face>.vbind-trade-meta :is(b,small){font-size:11px;white-space:nowrap;overflow-wrap:normal}
 html body main#main.vbind-module.vbind-editing .vbind-card-face>.vbind-trade-meta>strong{font-size:14px;white-space:nowrap;overflow-wrap:normal}
}
@media(min-width:1024px) and (pointer:coarse){
 html body main#main.vbind-module.vbind-editing .vbind-card-face>.vbind-trade-meta{min-height:44px}
}

/* Mobile keeps the owned/missing totals together in one compact band. */
html body .catalog-summary .catalog-summary-group h2 .catalog-summary-prefix{font:inherit;color:inherit}
@media(max-width:700px){
 html body .catalog-summary:is(.expansion-summary,.vbind-summary){grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 html body .catalog-summary .catalog-summary-group{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:4px 8px}
 html body .catalog-summary .catalog-summary-group h2{grid-area:1/1;margin:0;font-size:13px}
 html body .catalog-summary .catalog-summary-group h2 .catalog-summary-prefix,
 html body .catalog-summary .catalog-summary-group .catalog-summary-price-detail{display:none}
 html body .catalog-summary .catalog-summary-group>div{display:contents}
 html body .catalog-summary .catalog-summary-group .catalog-summary-count{grid-area:1/2;text-align:right}
 html body .catalog-summary .catalog-summary-group .vbind-summary-amount{grid-area:2/1/3/-1;display:block;margin:0}
 html body .catalog-summary .catalog-summary-group strong{font-size:14px}
 html body .catalog-summary .catalog-summary-group :is(.catalog-summary-count-label,.catalog-summary-value-label){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
}

/* The additional primary destination stays usable on narrow phones. */
@media(max-width:800px){
 :root[data-product="mundodex"] body .sidebar nav[aria-label="Navegação principal"]{
  grid-template-columns:none!important;grid-template-rows:1fr;grid-auto-flow:column;
  grid-auto-columns:minmax(56px,1fr);max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;
 }
 :root[data-product="mundodex"] body .sidebar nav[aria-label="Navegação principal"]>a{min-width:56px}
}
.trade-list-condition{display:grid;gap:6px;margin:12px 0;color:var(--mdx-control-ink,#173954)}
.trade-list-condition select{min-height:44px;font:inherit;max-width:100%}
.list-share-trigger{display:inline-flex;align-items:center;gap:8px;min-height:44px;white-space:nowrap}
.list-share-trigger svg{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.8}

/* Search suggestions: readable quantity, visible actions and real touch targets. */
html body .dashboard-search-results .search-quantity{flex:0 0 auto;max-width:100%;display:flex;flex-direction:column;align-items:flex-end;gap:4px}
html body .dashboard-search-results .search-quantity .stepper{
 display:inline-grid;grid-template-columns:44px minmax(32px,max-content) 44px;align-items:center;
 width:max-content;max-width:100%;height:44px;padding:0;gap:0;box-sizing:content-box;
 border:1px solid var(--mdx-control-line,#bad3e8);border-radius:10px;
 background:var(--mdx-control-bg,#fff);color:var(--mdx-control-ink,#164c7c);overflow:hidden;
}
html body .dashboard-search-results .search-quantity .stepper button{
 display:grid;place-items:center;flex:none;width:44px;min-width:44px;height:44px;min-height:44px;
 margin:0;padding:0;border:0;border-radius:0;background:var(--mdx-control-active,#dcefff);
 color:var(--mdx-control-ink,#164c7c);line-height:1;opacity:1;
}
html body .dashboard-search-results .search-quantity .stepper button:first-child{border-right:1px solid var(--mdx-control-line,#bad3e8)}
html body .dashboard-search-results .search-quantity .stepper button:last-child{border-left:1px solid var(--mdx-control-line,#bad3e8)}
html body .dashboard-search-results .search-quantity .stepper button svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;pointer-events:none}
html body .dashboard-search-results .search-quantity .stepper output{
 display:block;flex:none;align-self:center;width:auto;min-width:32px;margin:0;padding:0 4px;
 font:700 18px/1.2 var(--ah-font-ui,system-ui,sans-serif);font-variant-numeric:tabular-nums;
 text-align:center;white-space:nowrap;color:var(--mdx-control-ink,#164c7c);
}
html body .dashboard-search-results .search-quantity .stepper button:disabled{background:var(--mdx-control-bg,#fff);color:color-mix(in srgb,var(--mdx-control-ink,#164c7c) 60%,var(--mdx-control-bg,#fff));opacity:1;cursor:default}
html body .dashboard-search-results .search-quantity .stepper button:focus-visible{outline:2px solid currentColor;outline-offset:-5px}
html body .dashboard-search-results .search-quantity [data-search-quantity-state]:empty{display:none}
@media(max-width:360px){
 html body .dashboard-search-results .search-result-row{flex-wrap:wrap;gap:6px;padding:10px}
 html body .dashboard-search-results .search-suggestion{flex:1 0 100%;width:100%;padding:0}
 html body .dashboard-search-results .search-quantity{margin-left:auto}
}

/* Mobile navigation: seven destinations, larger touch areas and a quiet Scan accent. */
.mobile-home-account{display:none}
@media(max-width:800px){
 :root[data-product="mundodex"]{--mdx-mobile-nav-height:calc(82px + env(safe-area-inset-bottom))}
 :root[data-product="mundodex"] body{padding-bottom:calc(var(--mdx-mobile-nav-height) + 12px)}
 :root[data-product="mundodex"] body .sidebar{
  height:var(--mdx-mobile-nav-height);padding:6px max(6px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));
 }
 :root[data-product="mundodex"] body .sidebar nav[aria-label="Navegação principal"]{
  height:68px;align-items:center;grid-auto-columns:minmax(52px,1fr);gap:2px;overflow-y:hidden;
 }
 :root[data-product="mundodex"] body .sidebar nav[aria-label="Navegação principal"]>.account-nav{display:none!important}
 :root[data-product="mundodex"] body .sidebar nav[aria-label="Navegação principal"]>a{
  display:grid;grid-template-rows:32px 22px;align-content:center;align-items:center;justify-items:center;
  min-width:52px;height:66px;min-height:66px;padding:5px 0;gap:2px;border-radius:9px;
 }
 :root[data-product="mundodex"] body .sidebar nav[aria-label="Navegação principal"]>a b{
  align-self:start;font-size:10px;line-height:1.1;letter-spacing:0;white-space:normal;overflow:visible;text-overflow:clip;
 }
 :root[data-product="mundodex"] body .sidebar nav[aria-label="Navegação principal"] .nav-icon{width:32px;height:32px;flex-basis:32px}
 :root[data-product="mundodex"] body .sidebar nav[aria-label="Navegação principal"] .nav-icon svg{width:26px;height:26px}
 :root[data-product="mundodex"] body .sidebar nav[aria-label="Navegação principal"]>a.active::before{inset:auto 25% 0;width:50%;height:3px}
 :root[data-product="mundodex"] body .sidebar nav[aria-label="Navegação principal"]>a:focus-visible{outline:2px solid #7de5f0;outline-offset:-3px}
 :root[data-product="mundodex"] body .sidebar nav[aria-label="Navegação principal"]>.scanner-nav .nav-icon{border:1px solid #397891;border-radius:9px;background:#173d57;color:#86e5f2}
 :root[data-product="mundodex"] body .sidebar nav[aria-label="Navegação principal"]>.scanner-nav b{color:#d5f5ff}
 :root[data-product="mundodex"] body[data-route="inicio"] .mobile-home-account{display:block;width:100%;max-width:420px;margin:0 0 14px}
 :root[data-product="mundodex"] .mobile-home-account .home-account-link{
  display:grid!important;grid-template-columns:44px minmax(0,1fr) 20px;align-items:center;gap:12px;
  width:100%;min-height:66px;padding:10px 14px;border:1px solid var(--mdx-control-line,#bad3e8);border-radius:12px;
  background:var(--mdx-control-bg,#fff);color:var(--mdx-control-ink,#164c7c);text-decoration:none;
 }
 :root[data-product="mundodex"] .home-account-link .nav-avatar{display:grid;width:44px;height:44px;place-items:center}
 :root[data-product="mundodex"] .home-account-link .nav-avatar img{display:block;width:40px;height:40px;object-fit:cover;border-radius:50%}
 :root[data-product="mundodex"] .home-account-link b{font:650 16px/1.3 var(--ah-font-ui,system-ui,sans-serif)}
 :root[data-product="mundodex"] .home-account-link .home-account-arrow{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
 :root[data-product="mundodex"] .home-account-link:focus-visible{outline:2px solid currentColor;outline-offset:3px}
 :root[data-product="mundodex"] body.card-catalog-page .filterbar .multi-panel{bottom:calc(var(--mdx-mobile-nav-height) + 8px)}
 :root[data-product="mundodex"] body #toast{bottom:calc(var(--mdx-mobile-nav-height) + 10px)}
}

/* A wishlist is a plan: keep the original colors without changing ownership.
   Legacy !important grayscale rules require the same cascade layer. */
@layer legacy {
 body.wishlist-color-cards[data-route="acervo"] #results .acervo-card:not(.owned) .card-image>img,
 body.wishlist-color-cards[data-route="acervo"] #results .acervo-card:not(.owned) .card-surface>img,
 body.wishlist-color-cards #results .list-thumb,
 body.wishlist-color-cards #results .card-surface,
 body.wishlist-color-cards #results .card-surface.foil-card>span,
 main.vbind-module.vbind-wishlist .vbind-art,
 main.vbind-module.vbind-wishlist .vbind-art>img,
 main.vbind-module.vbind-wishlist .card-surface,
 main.vbind-module.vbind-wishlist .card-surface>img,
 main.vbind-module.vbind-wishlist .card-surface.foil-card>span {
  filter:none!important;
 }
 body.wishlist-color-cards[data-route="acervo"] #results .acervo-card:not(.owned) .card-image>img,
 body.wishlist-color-cards[data-route="acervo"] #results .acervo-card:not(.owned) .card-surface>img,
 body.wishlist-color-cards #results .list-thumb,
 body.wishlist-color-cards #results .card-surface,
 main.vbind-module.vbind-wishlist .vbind-art,
 main.vbind-module.vbind-wishlist .vbind-art>img,
 main.vbind-module.vbind-wishlist .card-surface,
 main.vbind-module.vbind-wishlist .card-surface>img {
  opacity:1!important;
 }
}

/* Binder reading on phones: paired totals and a single row of actions. */
@media(max-width:700px){
 html body main.vbind-module .catalog-summary.vbind-summary.mdx-price-panel{
  grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:12px;align-items:start;
 }
 html body main.vbind-module .catalog-summary.vbind-summary .catalog-summary-group{
  container-name:vbind-total;container-type:inline-size;align-content:start;
 }
 html body main.vbind-module .catalog-summary.vbind-summary [data-summary-value]{font-size:14px;line-height:1.4}
}
@container vbind-total (max-width:145px){
 html body main.vbind-module .catalog-summary.vbind-summary [data-summary-value]{font-size:12px}
}
@media(max-width:600px){
 html body main.vbind-module .mdx-binder-navigation .vbind-main-actions{
  display:grid;grid-template-columns:repeat(var(--vbind-action-count,3),minmax(0,1fr));
  flex:1 0 100%;width:100%;gap:6px;align-items:stretch;
 }
 html body main.vbind-module .mdx-binder-navigation .vbind-main-actions>.button{
  min-width:0;max-width:100%;min-height:44px;margin:0;padding:8px 4px;gap:4px;
  font-size:12px;line-height:1.25;white-space:normal;word-break:normal;overflow-wrap:normal;
 }
 html body main.vbind-module .mdx-binder-navigation .vbind-main-actions>.button>svg{width:14px;height:14px;flex:0 0 14px}
 html body main.vbind-module:not(.vbind-editing) .vbind-query .acervo-filter-chips{
  display:flex;flex-wrap:nowrap;gap:6px;min-width:0;max-width:100%;overflow:visible;
 }
 html body main.vbind-module:not(.vbind-editing) .vbind-query .acervo-filter-chips>:is(.button,.category-sort-filter){
  box-sizing:border-box;flex:1 1 0;min-width:0;max-width:100%;width:0;min-height:44px;margin:0;
  font-size:12px;white-space:nowrap;gap:4px;padding-inline:8px;
 }
 html body main.vbind-module:not(.vbind-editing) .vbind-query .acervo-filter-chips>.category-sort-filter{padding-inline:8px}
 html body main.vbind-module:not(.vbind-editing) .vbind-query .acervo-filter-chips>.category-sort-filter .filter-chip-icon{width:14px;height:14px;flex:0 0 14px}
 html body main.vbind-module:not(.vbind-editing) .vbind-query .acervo-filter-chips>.category-sort-filter .multi-picker{flex:1 1 auto;min-width:0;width:0}
 html body main.vbind-module:not(.vbind-editing) .vbind-query .acervo-filter-chips>.category-sort-filter .multi-picker>summary{min-width:0;width:100%;padding:0 12px 0 0;font-size:12px}
 html body main.vbind-module:not(.vbind-editing) .vbind-query .acervo-filter-chips>*>svg{width:14px;height:14px;flex:0 0 14px}
}
@media(max-width:360px){
 html body main.vbind-module .mdx-binder-navigation .vbind-main-actions>.button{font-size:11px}
 html body main.vbind-module .mdx-binder-navigation .vbind-main-actions>.button>svg,
 html body main.vbind-module:not(.vbind-editing) .vbind-query .acervo-filter-chips>*>svg,
 html body main.vbind-module:not(.vbind-editing) .vbind-query .acervo-filter-chips>.category-sort-filter .filter-chip-icon{display:none}
}
html body main.vbind-module.vbind-editing .mdx-binder-navigation .vbind-main-actions{display:none}
