.market-intro{padding-block:40px 32px}.market-intro h1{font-size:clamp(36px,3.5vw,54px)}.market-intro-note{color:var(--text);font-size:13px;flex-shrink:0;text-align:right}.market-intro-note small{display:block;color:var(--muted);font-size:11px;margin-top:6px}.market-dot{display:inline-block;width:7px;height:7px;background:var(--lime);border-radius:50%;margin-right:7px}.market-toolbar{display:flex;gap:25px;align-items:center;padding:18px;background:var(--panel);border:1px solid var(--line);border-radius:12px}.market-toolbar form{flex:1;min-width:0}.market-toolbar input[type=search]{background:var(--bg);padding-right:88px}.market-search-submit{position:absolute;right:5px;top:5px;bottom:5px;border:0;border-radius:6px;background:#30362a;color:var(--lime);padding:0 13px;font-size:13px}.ownership-toggle{display:flex;align-items:center;gap:10px;cursor:pointer;font-size:13px;line-height:1.4;position:relative;min-height:44px}.ownership-toggle small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.ownership-toggle input{position:absolute;opacity:0;width:38px;height:30px;left:0;margin:0}.toggle-track{width:36px;height:21px;border:1px solid #555a63;background:#2b2d33;border-radius:20px;position:relative;flex-shrink:0}.toggle-track:after{content:'';position:absolute;width:13px;height:13px;top:3px;left:3px;border-radius:50%;background:#adb1bb;transition:transform .16s}.ownership-toggle input:checked+.toggle-track{background:#344021;border-color:var(--lime)}.ownership-toggle input:checked+.toggle-track:after{background:var(--lime);transform:translateX(15px)}.ownership-toggle input:focus-visible+.toggle-track{outline:2px solid var(--lime);outline-offset:4px}.market-grid{row-gap:30px}.market-tile{min-width:0}.market-art{aspect-ratio:488/680}.market-art img{transition:filter .2s ease,opacity .2s ease}.market-grid.fade-unowned .market-tile.unowned .market-art img{filter:grayscale(1);opacity:.34}.market-grid.fade-unowned .market-tile.unowned .market-art{background:#26292f}.market-grid.fade-unowned .market-tile.unowned .product-name{color:var(--muted)}.market-owned{position:absolute;top:9px;right:9px;border:1px solid #bad16775;background:#242b1eea;color:var(--lime);border-radius:5px;padding:3px 7px;font-size:10px;letter-spacing:.03em}.market-tile .shared-card-name{min-height:0;margin-bottom:6px}.market-tile .product-meta{margin-bottom:12px}.market-tile-prices{border-top:1px solid var(--line);padding-top:10px;display:grid;gap:5px;font-size:11px}.market-tile-prices>div{display:flex;justify-content:space-between;gap:8px;color:var(--muted)}.market-tile-prices b{color:var(--text);font-size:12px;white-space:nowrap}.market-tile-prices .retailer-price b{color:var(--lime)}.market-price-scope{font-size:10px;color:var(--muted);margin:7px 0 0}.market-pagination{min-height:100px}.market-pagination a{display:inline-grid;place-items:center;border:1px solid var(--line);border-radius:6px;min-width:40px;min-height:42px;padding:8px 12px;text-decoration:none;background:var(--panel);color:var(--muted)}.market-pagination a[aria-current=page]{background:var(--lime);color:var(--bg);border-color:var(--lime)}.market-pagination a:hover{border-color:var(--lime)}.market-pagination nav{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px}.market-pagination .page-gap{padding:0 5px}.market-notice{padding:13px 16px;border:1px solid #77654480;border-radius:8px;background:#29261c;color:#e5d8ad;font-size:13px}.market-error,.market-empty{padding:45px 20px;text-align:center;border:1px dashed var(--line);border-radius:10px;margin:12px 0 25px}.market-error h2,.market-empty h2{font-size:23px;margin-bottom:10px}.market-error p,.market-empty p{color:var(--muted);font-size:14px}.market-card-dialog{max-width:1120px}.market-detail-grid{display:grid;grid-template-columns:250px minmax(0,1fr);gap:28px}.market-detail-art{min-width:0}.market-detail-image{aspect-ratio:488/680;border-radius:11px;overflow:hidden;background:#25272d;position:relative}.market-detail-image img{display:block;width:100%;height:100%;object-fit:contain}.market-detail-image .art-missing{position:absolute;inset:0}.market-detail-art .market-owned-copy{color:var(--lime);font-size:12px;margin:12px 0;text-align:center}.market-face-buttons{display:flex;gap:6px;margin-top:10px}.market-face-buttons button{flex:1;background:none;border:1px solid var(--line);border-radius:5px;min-height:40px;font-size:12px}.market-face-buttons button[aria-pressed=true]{border-color:var(--lime);color:var(--lime)}#marketCardTitle{font-size:29px;margin-bottom:8px;line-height:1.2}.market-card-type{color:var(--muted);font-size:13px}.market-oracle{white-space:pre-line;font-size:14px;line-height:1.65}.market-selected-print{color:var(--muted);font-size:12px;margin:15px 0 9px;line-height:1.6}.market-price-pair{display:grid;grid-template-columns:1fr 1fr;border:1px solid #41464f;border-radius:10px;overflow:hidden;margin:12px 0}.market-price-block{padding:15px;min-width:0}.market-price-block+div{border-left:1px solid #41464f;background:#dcfa6804}.market-price-block .price-label{display:block;font-size:10px;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}.market-price-block strong{display:block;font-size:25px;letter-spacing:-.03em;line-height:1.2}.market-price-block.retailer strong{color:var(--lime)}.market-price-block small{display:block;color:var(--muted);font-size:11px;margin-top:7px;line-height:1.5;overflow-wrap:anywhere}.market-price-block a{display:inline-block;color:var(--lime);font-size:12px;margin-top:7px;text-underline-offset:3px}.market-quote-note{font-size:11px;line-height:1.6;color:var(--muted);margin:10px 0 15px}.market-add-row{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:16px 0}.market-add-row label{flex:1;min-width:190px;color:var(--muted);font-size:11px}.market-add-row select{display:block;width:100%;margin-top:5px;min-height:44px;max-width:100%}.market-add-row .primary{font-size:13px;min-width:150px}.market-print-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:21px;margin-top:22px}.market-print-heading h3{font-size:17px;margin-bottom:8px}.market-print-heading span{color:var(--muted);font-size:11px}.market-printings{display:grid;gap:8px;margin-top:5px}.market-printing-choice{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:11px;align-items:center;min-height:76px;padding:9px 11px;border:1px solid var(--line);border-radius:7px;background:#17191d;text-align:left;width:100%}.market-printing-choice:hover{background:#252922}.market-printing-choice[aria-pressed=true]{border-color:#b2c965;background:#272e20}.market-printing-choice img{display:block;width:42px;aspect-ratio:488/680;object-fit:contain;border-radius:3px}.market-printing-choice b{display:block;font-size:12px;line-height:1.4}.market-printing-choice small{display:block;font-size:11px;color:var(--muted);margin-top:3px}.market-printing-choice .printing-reference{font-size:12px;white-space:nowrap;text-align:right}.market-printing-choice .printing-reference small{font-size:9px}.market-print-more{display:block;width:100%;margin:12px 0;font-size:13px}.market-detail-loading{display:grid;grid-template-columns:240px 1fr;gap:30px;min-height:380px}.market-detail-loading .skeleton-art{aspect-ratio:488/680;display:block}.market-detail-loading .skeleton-line{margin-block:15px;width:100%}.market-detail-message{text-align:center;padding:45px 20px;color:var(--muted)}.wishlist-dialog{width:min(940px,calc(100% - 36px));max-width:940px}.wishlist-explainer{font-size:13px;color:var(--muted);max-width:710px}.wishlist-summary{display:flex;justify-content:space-between;gap:20px;padding:20px;border:1px solid #49543a;background:#242b1d;border-radius:10px;margin:20px 0}.wishlist-summary strong{display:block;font-size:27px;letter-spacing:-.03em;color:var(--lime)}.wishlist-summary small{display:block;font-size:11px;color:var(--muted);margin-top:5px}.wishlist-summary>div:last-child{text-align:right}.wishlist-summary p{margin:0;font-size:13px;line-height:1.6}.wishlist-store{border:1px solid var(--line);border-radius:10px;margin:18px 0;overflow:hidden;background:#17191d}.wishlist-store-heading{padding:17px 18px;border-bottom:1px solid var(--line);display:flex;align-items:baseline;justify-content:space-between;gap:12px}.wishlist-store-heading h3{font-size:17px;margin:0}.wishlist-store-heading small{font-size:11px;color:var(--muted)}.wishlist-items{padding:0 18px}.wishlist-line{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:13px;align-items:start;padding:15px 0;border-bottom:1px solid var(--line)}.wishlist-line:last-child{border-bottom:0}.wishlist-line img{width:44px;aspect-ratio:488/680;object-fit:contain;border-radius:4px}.wishlist-line h4{font-size:13px;margin:0 0 4px}.wishlist-line p{font-size:11px;line-height:1.65;color:var(--muted);margin:0}.wishlist-line a{color:var(--lime);text-underline-offset:3px;display:inline-block;min-height:24px}.wishlist-line-price{text-align:right;font-size:13px}.wishlist-quantity{display:flex;align-items:center;gap:7px;margin-top:8px}.wishlist-quantity button{background:none;border:1px solid #444852;border-radius:4px;min-width:34px;min-height:34px;font-size:16px}.wishlist-quantity span{min-width:20px;text-align:center;font-size:12px}.wishlist-remove{font-size:11px;background:none;border:0;text-decoration:underline;text-underline-offset:3px;color:var(--muted);margin-top:6px;padding:4px 0;min-height:28px}.wishlist-shipping{padding:16px 18px;border-top:1px solid var(--line);background:#202226;display:grid;grid-template-columns:1fr 1fr;gap:16px}.shipping-controls h4{font-size:12px;margin-bottom:7px}.shipping-controls p{font-size:11px;color:var(--muted);margin-bottom:10px;line-height:1.6}.shipping-fields{display:flex;gap:9px}.shipping-fields label{font-size:10px;color:var(--muted);flex:1;min-width:0}.shipping-fields input{width:100%;min-height:40px;padding:7px 9px;border:1px solid #494d56;background:#141619;color:var(--text);border-radius:5px;display:block;margin-top:4px;font-size:13px}.shipping-fields input[aria-invalid=true]{border-color:#ff9494}.shipping-estimate-error{color:#ffb0b0!important;margin-top:7px}.store-totals{align-self:end;font-size:12px}.store-totals>div{display:flex;justify-content:space-between;gap:10px;margin-top:8px}.store-totals>div:last-child{padding-top:10px;border-top:1px solid var(--line);color:var(--lime);font-weight:700}.store-totals small{display:block;font-size:10px;color:var(--muted);margin-top:9px;line-height:1.5}.wishlist-empty{text-align:center;padding:45px 0}.wishlist-empty h3{font-size:24px}.wishlist-empty p{font-size:14px;color:var(--muted)}.wishlist-privacy{color:var(--muted);font-size:11px;line-height:1.65}.market-image-fallback{width:42px;aspect-ratio:488/680;background:#2d3037;border-radius:3px}.market-printing-choice .market-image-fallback{display:block}.market-card-dialog .modal-top,.wishlist-dialog .modal-top{z-index:8}
@media(max-width:1100px){.market-intro-note{display:none}.market-toolbar{gap:18px}.market-detail-grid{grid-template-columns:215px minmax(0,1fr)}}
@media(max-width:700px){.market-toolbar{display:block;padding:13px}.ownership-toggle{margin-top:13px}.market-intro{padding-block:27px 23px}.market-intro h1{max-width:none;font-size:38px}.market-intro p:last-child{font-size:14px;max-width:360px}.market-detail-grid{grid-template-columns:1fr;gap:22px}.market-detail-art{width:190px;margin:auto}.market-card-dialog{padding:18px}.market-detail-loading{grid-template-columns:1fr;min-height:350px}.market-detail-loading .skeleton-art{width:180px;margin:auto}.market-detail-loading>div{display:none}.market-card-dialog .modal-top{margin-bottom:14px}.market-price-block{padding:12px}.market-price-block strong{font-size:22px}.market-printing-choice{grid-template-columns:37px minmax(0,1fr) auto;gap:9px;padding:8px}.market-printing-choice img,.market-image-fallback{width:37px}.market-tile-prices>div{display:block}.market-tile-prices b{display:block;font-size:14px;margin-top:1px}.market-tile-prices{grid-template-columns:1fr 1fr;gap:7px}.market-tile-prices>div span{font-size:9px}.market-price-scope{font-size:9px}.market-owned{font-size:9px;right:6px;top:6px;padding:2px 5px}.wishlist-dialog{width:calc(100% - 20px);padding:17px}.wishlist-dialog .modal-top{top:-17px}.wishlist-shipping{grid-template-columns:1fr;gap:18px}.wishlist-line{gap:9px;grid-template-columns:37px minmax(0,1fr) auto}.wishlist-line img{width:37px}.wishlist-items{padding-inline:12px}.wishlist-store-heading{padding:14px 12px}.wishlist-store-heading h3{font-size:15px}.wishlist-shipping{padding:14px 12px}.wishlist-summary{padding:14px;gap:12px}.wishlist-summary strong{font-size:22px}.wishlist-summary p{font-size:12px}.wishlist-line h4{font-size:12px}.wishlist-quantity button{min-width:32px;min-height:40px}.wishlist-remove{min-height:38px}.market-add-row .primary{flex:1}.market-add-row label{flex-basis:100%}.market-pagination a{min-width:38px;padding-inline:9px}.market-pagination nav{gap:5px}.market-intro h1 em{display:block}.market-card-dialog .close-button,.wishlist-dialog .close-button{flex-shrink:0}.market-print-heading span{font-size:10px;max-width:120px;text-align:right}}
@media(prefers-reduced-motion:reduce){.market-art img,.toggle-track:after{transition:none}}

.market-open-prices{border-top:1px solid var(--line);padding-top:10px;font-size:11px;color:var(--muted);display:flex;justify-content:space-between;gap:7px}.market-open-prices span{color:var(--lime)}
@media(max-width:380px){.market-price-block strong{font-size:18px}.market-price-block{padding:10px}.wishlist-summary{flex-wrap:wrap}.wishlist-summary>div:last-child{text-align:left}.market-printing-choice .printing-reference{font-size:11px}.market-printing-choice .printing-reference small{font-size:8px}}
.market-candidate{padding:13px;border:1px solid #7d6b4080;background:#30291a;border-radius:8px;margin:13px 0}.market-candidate>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.market-candidate-badge{color:#f4d892;font-size:11px;font-weight:600}.market-candidate b{font-size:19px;color:#f4d892}.market-candidate p{font-size:11px;line-height:1.6;color:#d7c8a9;margin:8px 0 0}.market-candidate small{display:block;color:var(--muted);font-size:10px;line-height:1.6;margin:7px 0}.market-candidate a{display:inline-block;font-size:11px;color:#f4d892;min-height:28px;text-underline-offset:3px}.wishlist-candidate{color:#f4d892}
/* Market uses the Free Singles sticky browse surface and connected foldout. */
.market-browse-shell .market-toolbar{padding:0;border:0;border-radius:0;background:none;gap:10px;flex-wrap:wrap}.market-browse-shell .market-toolbar form{flex:1 1 260px}.market-browse-shell .filter-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:52px;padding:0 14px;border:1px solid var(--line);background:var(--panel);font-size:14px;flex-shrink:0}.market-browse-shell .filter-toggle[aria-expanded=true]{border-color:#75844d;background:#242b1d;color:var(--lime)}.market-browse-shell .ownership-toggle{margin:0 5px 0 9px;white-space:nowrap}.market-browse-shell input[type=search]{padding-right:84px}.market-browse-shell .market-filter-panel{display:block}.market-filter-colour{margin-bottom:16px}.market-filter-label{display:block;color:#b8bbc5;font-size:11px;font-weight:700;margin-bottom:7px}.market-filter-colour .colour-filters{margin:0;justify-content:flex-start;gap:6px}.market-filter-fields{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.market-filter-fields label{min-width:0;color:#b8bbc5;font-size:11px;font-weight:700;letter-spacing:.02em}.market-browse-shell .market-filter-fields select,.market-browse-shell .market-filter-fields input{display:block;width:100%;min-height:42px;margin-top:5px;padding:7px 28px 7px 9px;border:1px solid #454957;border-radius:8px;background:#0d0f14;color:var(--text);font-size:13px}.market-browse-shell .market-filter-fields input{padding-right:9px}.market-filter-fields input:invalid{border-color:#ae7d65}.market-filter-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid var(--line);margin-top:17px;padding-top:9px}.market-filter-footer>.text-button{flex-shrink:0;color:var(--lime);text-decoration:none;padding:5px 8px;font-size:12px;font-weight:700}.market-filter-chips{display:flex;flex-wrap:wrap;gap:7px;min-width:0}.market-filter-chips button{display:inline-flex;align-items:center;gap:7px;min-height:32px;padding:5px 8px 5px 10px;border:1px solid #596149;border-radius:999px;background:#20251c;color:var(--text);font-size:11px;line-height:1.1}.market-filter-chips span{color:var(--lime);font-size:9px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.market-filter-chips b{color:var(--muted);font-size:15px;font-weight:500}.market-results-row>div{gap:6px}.market-results-row #clearSearch{margin-right:8px}
@media(max-width:1100px){.market-filter-fields{grid-template-columns:repeat(3,minmax(0,1fr))}.market-browse-shell .market-toolbar form{flex-basis:230px}.market-browse-shell .ownership-toggle{font-size:12px}}
@media(max-width:700px){.market-browse-shell .market-toolbar{display:flex}.market-browse-shell .market-toolbar form{flex-basis:calc(100% - 120px)}.market-browse-shell .ownership-toggle{flex-basis:100%;margin:0 4px 0;min-height:34px}.market-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 10px}.market-browse-shell .market-filter-fields select,.market-browse-shell .market-filter-fields input{font-size:16px;min-height:44px}.market-results-row{align-items:flex-start;flex-wrap:wrap}.market-results-row>p{flex:1 1 140px}.market-results-row>div{margin-left:auto}.market-filter-footer{align-items:flex-start}.market-filter-chips button{min-height:36px}.market-browse-shell .filter-toggle{min-height:46px;padding:0 10px}.market-results-row select{max-width:150px}}
@media(max-width:380px){.market-results-row #clearSearch{font-size:12px;margin-right:0}.market-results-row>div{gap:2px}.market-results-row select{max-width:128px}.market-browse-shell .filter-toggle{font-size:13px;padding-inline:8px}.market-filter-colour .colour-filters{gap:4px}.market-filter-colour .colour-filters button{min-width:32px;padding-inline:5px}}
/* Artwork follows Free Singles: loading frames, bounded finish effects and readable badges. */
.market-art,.market-detail-image{--foil-radius:11px}.market-printing-art,.wishlist-art{display:block;width:42px;aspect-ratio:488/680;border-radius:4px;--foil-radius:4px}.wishlist-art{width:44px}.market-printing-art img,.wishlist-art img{display:block;width:100%;height:100%;object-fit:contain}.market-printing-art .art-missing,.wishlist-art .art-missing{font-size:8px;padding:3px;overflow:hidden}.market-owned{z-index:3}.market-art .print-badge{z-index:3}.market-detail-image.image-pending>img,.market-art.image-pending>img{opacity:0}.market-detail-image.image-ready>img,.market-art.image-ready>img{opacity:1}.market-grid.fade-unowned .market-tile.unowned .market-art.image-ready img{opacity:.34}.image-frame.image-pending>.foil-sheen,.image-frame.image-error>.foil-sheen{display:none}.etched-art>.foil-sheen{opacity:.48;mix-blend-mode:soft-light}.etched-art>.foil-sheen::after{background:linear-gradient(125deg,transparent 35%,rgba(213,201,159,.12) 43%,rgba(243,233,203,.5) 50%,rgba(160,191,179,.16) 57%,transparent 65%)}.market-grid.fade-unowned .market-tile.unowned .foil-sheen{opacity:.12}.market-card-stats{font-size:14px;font-weight:700;text-align:right}.market-scryfall-link{font-size:12px;margin:12px 0}.market-scryfall-link a{color:var(--muted);text-underline-offset:3px}.market-card-dialog .legality-block{margin-top:20px}.market-card-type .mana-pip{vertical-align:middle}.market-oracle:empty,.market-scryfall-link:empty{display:none}.market-printing-choice>span{min-width:0}.market-printing-choice b,.market-selected-print{overflow-wrap:anywhere}.market-face-buttons button{min-width:0}.market-card-dialog :is(button,a,select):focus-visible,.wishlist-dialog :is(button,a,input):focus-visible,.market-browse-shell :is(button,input,select):focus-visible,.market-grid button:focus-visible,.market-pagination a:focus-visible{outline:2px solid var(--lime)!important;outline-offset:3px}
@media(max-width:700px){.market-printing-art,.wishlist-art{width:37px}.market-add-row>div:not(:empty){flex:1 1 100%;min-width:0}.market-price-block .price-label{letter-spacing:.025em}.market-face-buttons button{min-height:44px}.market-card-dialog .market-price-block a{min-height:32px;display:inline-flex;align-items:center}}
@media(prefers-reduced-motion:reduce){.market-detail-image img{transition:none}}
/* Shared shop focus suppression must not hide Market keyboard navigation. */
body :is(button,a,input,select,textarea):focus-visible{outline:2px solid var(--lime)!important;outline-offset:3px}

.market-colour-groups{display:flex;flex-wrap:wrap;column-gap:32px;row-gap:0}.market-filter-info{border:0;background:none;padding:0 3px;color:var(--muted);font-size:12px;cursor:help}.market-filter-info:focus-visible{outline:2px solid var(--lime);outline-offset:3px}

/* Source selection and the highest-priced catalogue variant. */
.market-filter-utilities{display:flex;align-items:center;gap:22px;flex-wrap:wrap;padding:0 0 16px;margin-bottom:16px;border-bottom:1px solid var(--line)}.market-source-control,.market-detail-source{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted)}.market-tile-price{width:100%;display:flex;align-items:center;justify-content:space-between;border:0;border-top:1px solid var(--line);padding:11px 0 0;background:none;text-align:left}.market-tile-price small{display:block;color:var(--muted);font-size:10px}.market-tile-price b{display:block;font-size:18px;margin-top:3px}.market-tile-price>span:last-child{color:var(--lime);font-size:23px}.market-price-pair{grid-template-columns:1fr}.market-price-block.possible-price strong,.possible-price,.market-tile-price .possible-price{color:#c99462}.market-price-block.possible-price{background:#b67b3520}.market-detail-image[data-card-zoom]{cursor:zoom-in}.market-filter-utilities .ownership-toggle{margin:0}.market-filter-utilities .market-deck-toggle{margin-left:auto}.market-browse-shell .filter-toggle{height:52px;min-height:52px;border-radius:8px}.market-filter-utilities select{min-width:110px}@media(max-width:700px){.market-filter-utilities{gap:12px}.market-filter-utilities .ownership-toggle{flex-basis:100%}.market-filter-utilities .market-deck-toggle{margin-left:0}.market-browse-shell .filter-toggle{height:52px;min-height:52px}}
