:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#eff6ff;color-scheme:dark;background:#070a19}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 15% 0%,#29204d 0,transparent 35%),radial-gradient(ellipse at 98% 15%,#103e64 0,transparent 38%),#080b1a}a{color:#a2e8ff;text-decoration:none}a:hover{text-decoration:underline}button,input,select{font:inherit}.top{max-width:1200px;margin:auto;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;padding:22px 18px;border-bottom:1px solid #7c84b23d}.top nav{display:flex;gap:20px;font-size:.89rem}.brand{font-weight:900;letter-spacing:.13em;color:#ffe7a1}main{max-width:1200px;margin:auto;padding:34px 18px 65px}.hero{max-width:890px;margin:0 0 32px}.eyebrow{font-size:.69rem;letter-spacing:.17em;font-weight:800;color:#75e4ff}.hero h1{font-size:clamp(3rem,8vw,6.2rem);line-height:.99;letter-spacing:-.075em;margin:15px 0 22px}.hero h1 em{font-style:normal;background:linear-gradient(110deg,#e2bdff,#62dafa,#ffd68a);background-clip:text;color:transparent}.hero>p{max-width:740px;color:#abbad4;line-height:1.7}.stats{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.stats span{display:flex;align-items:center;gap:9px;background:#27234a88;border:1px solid #a499d746;padding:10px 13px;border-radius:100px;font-size:.82rem;color:#bfd5e8}.stats strong{color:white;font-size:1rem}.workspace{display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);gap:20px;align-items:start}.finder,.detail{border:1px solid #8890e45f;border-radius:22px;background:linear-gradient(155deg,#1b213ccf,#0d1325e8);box-shadow:0 18px 45px #0005;padding:24px;min-width:0}.section-title{margin-bottom:22px}.section-title h2{font-size:1.5rem;margin:6px 0}label{display:block;font-weight:700;font-size:.8rem;color:#c3d7e8;margin:14px 0 7px}input,select{width:100%;background:#0a1022;border:1px solid #7c83af;border-radius:11px;color:#fff;padding:12px 13px;outline-offset:3px}input:focus,select:focus{outline:2px solid #8bdff6}.search-bar{display:flex;gap:8px}.search-bar input{min-width:0;flex:1}.search-bar button,.more{border:0;padding:0 17px;border-radius:11px;background:linear-gradient(115deg,#e1c1fd,#94e5fc);color:#101525;font-weight:850;cursor:pointer}.quick-picks{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:16px;font-size:.8rem;color:#a8b7c8}.quick-picks button{border:1px solid #6571ae;background:#232746;color:white;border-radius:30px;padding:7px 12px;cursor:pointer}.subdued{color:#a8b8d2;font-size:.88rem;line-height:1.55}.error{color:#ffbcaa!important}.results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}.card-choice{border:1px solid #434e79;background:#121b34;border-radius:13px;display:flex;align-items:center;gap:10px;text-align:left;color:#f5f7ff;padding:9px;cursor:pointer;min-width:0}.card-choice:hover,.card-choice:focus-visible{border-color:#93dff5;outline:none}.card-choice[aria-pressed=true]{border:2px solid #dbbcff;background:#262849}.card-choice img{width:44px;height:65px;object-fit:contain;flex:none}.card-label{min-width:0;overflow-wrap:anywhere}.card-label strong,.card-label small{display:block}.card-label strong{font-size:.88rem}.card-label small{font-size:.67rem;margin-top:5px;color:#a5b9d0}.more{min-height:40px;margin-top:18px;width:100%}.placeholder{min-height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;border:1px dashed #53658a;border-radius:14px;background:#11182d;padding:27px}.placeholder>span{font-size:3rem;color:#8bd6ff}.placeholder>p{max-width:290px;color:#aeb8c8;line-height:1.5}.card-heading{display:flex;gap:17px;align-items:start;border-bottom:1px solid #4a567a;padding-bottom:18px}.card-heading img{width:130px;max-height:190px;object-fit:contain}.card-heading h3{font-size:clamp(1.4rem,4vw,1.9rem);margin:0 0 10px}.card-heading p{margin:6px 0;color:#afc7df;font-size:.87rem}.evidence{padding:11px 13px;border:1px solid #7d6da1;background:#342d4e;border-radius:11px;margin:18px 0;color:#eddbff;font-size:.83rem}.evidence.detailed{background:#123743;border-color:#4a9caa;color:#b6f2ff}.detail h4{font-size:1.06rem;margin:24px 0 12px}.printing-rows{display:grid;gap:9px}.printing{padding:14px;border-radius:12px;border:1px solid #52618a;background:#101b32;display:grid;gap:6px}.printing strong{font-size:.95rem}.printing small{font-size:.67rem;color:#8cdbec;letter-spacing:.09em}.printing span{font-size:.75rem;color:#becbe6}.feature-tags{display:flex;gap:7px;flex-wrap:wrap}.feature,.unknown{border-radius:30px;padding:7px 10px;border:1px solid #6d79a4;color:#d4d7fc;background:#252e4a;font-size:.77rem}.unknown{color:#f5cf9a}.reference,.return{display:block;margin-top:16px;font-size:.85rem;font-weight:750}footer{margin-top:35px;border-top:1px solid #ffffff20;padding:25px 0;color:#8999b2;font-size:.77rem;line-height:1.6}@media(max-width:840px){.workspace{grid-template-columns:1fr}.finder,.detail{padding:18px}.results{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}.detail{margin-top:2px}}@media(max-width:420px){.top nav{gap:11px}.search-bar{flex-wrap:wrap}.search-bar button{min-height:45px;width:100%}.card-heading img{width:108px}.hero{margin-bottom:22px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
.catalog-modes{display:flex;gap:10px;margin:0 0 20px;flex-wrap:wrap}.catalog-modes button{cursor:pointer;border:1px solid #7381ae;background:#10182d;color:#bacce6;border-radius:999px;padding:12px 17px;min-height:44px;font-weight:800;font-size:.84rem}.catalog-modes button[aria-pressed=true]{border-color:#82d8ff;background:linear-gradient(120deg,#273f75,#26345a);color:#fff;box-shadow:0 0 18px #318bc536}.catalog-modes button:hover,.catalog-modes button:focus-visible{outline:2px solid #6fd3ee;outline-offset:2px}#language:disabled{opacity:.48}@media(max-width:480px){.catalog-modes{display:grid;grid-template-columns:1fr}.catalog-modes button{width:100%;text-align:center}}


/* Master Printings stays scrollable even if a stale, previously installed
   Stamp World service worker temporarily injects its old world-layout styles.
   Scoped entirely to this independent page; Stamp World is unchanged. */
html:has(body.rarefoil-master-printings){height:auto!important;overflow-x:hidden!important;overflow-y:auto!important}
body.rarefoil-master-printings,body.rarefoil-master-printings.world-layout{
  height:auto!important;min-height:100vh!important;
  overflow-x:hidden!important;overflow-y:auto!important;
  touch-action:auto!important;overscroll-behavior-y:auto!important
}
body.rarefoil-master-printings.world-layout>main,
body.rarefoil-master-printings.world-layout main{
  width:min(100%,1200px)!important;height:auto!important;min-height:0!important;
  overflow:visible!important;margin-left:auto!important;margin-right:auto!important
}
body.rarefoil-master-printings #worldShortcuts,
body.rarefoil-master-printings #backToGlobe,
body.rarefoil-master-printings #albumTwinCountryTicker,
body.rarefoil-master-printings #atlasNav,
body.rarefoil-master-printings .bottomnav,
body.rarefoil-master-printings .cu-launch,
body.rarefoil-master-printings #collectionUniverse,
body.rarefoil-master-printings button[aria-label="Open Oz control room"]{
  display:none!important;pointer-events:none!important
}


/* Clear collector-facing search tiles. IDs remain internal, never tile labels.
   Keep real set names legible rather than squeezing four tiny boxes across phones. */
.results{gap:12px}
.card-choice{min-height:100px;align-items:center;gap:12px;padding:12px;background:linear-gradient(155deg,#192341,#0e1831);border-color:#45557f;transition:border-color .14s ease,background-color .14s ease}
.card-choice img{width:55px;height:77px;object-fit:contain;border-radius:5px;flex-shrink:0;background:#0b1125}
.card-thumb-placeholder{display:grid;place-items:center;width:55px;height:77px;border:1px solid #5f6c95;border-radius:6px;background:radial-gradient(circle at 40% 30%,#243960,#111b32);color:#a3cfe8;font-size:1.6rem;flex-shrink:0}
.card-label{display:flex;flex-direction:column;gap:4px;min-width:0;line-height:1.3}
.card-label .card-name{display:block;font-size:.94rem;line-height:1.3;font-weight:850;color:#f8faff;overflow-wrap:anywhere}
.card-label .card-set-name{display:block;font-size:.78rem;line-height:1.34;font-weight:690;color:#a9e3ff;overflow-wrap:anywhere}
.card-label .card-number{display:block;font-size:.75rem;line-height:1.3;font-weight:650;color:#abb9d6;letter-spacing:.012em}
.card-choice[aria-pressed=true]{border:2px solid #b9a4ff;background:linear-gradient(145deg,#2c315b,#172943);box-shadow:0 0 16px #8676dd26}
.more{min-height:47px;font-size:.9rem;letter-spacing:.02em}
@media(max-width:840px){
 .results{grid-template-columns:repeat(auto-fit,minmax(min(100%,238px),1fr))}
}
@media(max-width:510px){
 .results{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .card-choice{flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:11px;gap:9px;min-height:173px}
 .card-choice img,.card-thumb-placeholder{width:53px;height:73px}
 .card-label{gap:4px}
 .card-label .card-name{font-size:.86rem}
 .card-label .card-set-name{font-size:.75rem}
 .card-label .card-number{font-size:.73rem}
}
@media(max-width:330px){
 .results{grid-template-columns:1fr}
 .card-choice{flex-direction:row;min-height:95px;align-items:center}
}


/* Worldwide browse-by-set controls; no internal set codes required. */
.set-browser{margin:18px 0 9px;padding:14px;border-radius:15px;border:1px solid #41557c;background:#10182ecc}
.set-browser label:first-child{margin-top:0}
.set-browser input,.set-browser select{width:100%;font-size:1rem;min-height:46px}
.set-browser #set-status{margin:9px 1px 0;font-size:.77rem}
.set-browser[hidden]{display:none!important}
.advanced-code{margin:9px 0 16px;border:1px solid #374665;border-radius:11px;padding:10px 13px}
.advanced-code summary{cursor:pointer;color:#c4d4ed;font-size:.82rem;min-height:25px;line-height:25px}
.advanced-code[open] input{margin-bottom:6px}
.vintage-pick[hidden],.quick-picks [hidden]{display:none!important}


/* RareFoil visual identification: symbols first; accessible on phones, tablets and desktop. */
.rarefoil-master-printings .hero{max-width:980px;margin-bottom:18px}
.rarefoil-master-printings .hero h1{font-size:clamp(2.6rem,6.6vw,4.8rem);line-height:1.01;margin:12px 0 15px}
.rarefoil-master-printings .hero>p{line-height:1.5;margin:0;font-size:clamp(.9rem,1.7vw,1rem)}
.rarefoil-master-printings .stats{margin-top:14px}
.rarefoil-master-printings .stats span{padding:8px 12px}
.rarefoil-master-printings .workspace{grid-template-columns:minmax(0,1.24fr) minmax(300px,.76fr);gap:18px}
.rarefoil-master-printings .finder,.rarefoil-master-printings .detail{padding:21px}
.rarefoil-master-printings .finder .section-title{margin-bottom:16px}
.rarefoil-master-printings .finder .section-title h2{font-size:clamp(1.32rem,3vw,1.8rem);letter-spacing:-.02em}
.rarefoil-master-printings [hidden]{display:none!important}
.finder-paths{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:15px 0 11px}
.finder-path{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:7px;min-height:122px;padding:14px 12px;border-radius:16px;border:1px solid #53638b;background:linear-gradient(155deg,#192341,#111b33);color:#f5faff;cursor:pointer}
.finder-path .path-icon{width:33px;height:33px;display:grid;place-items:center;border-radius:10px;background:#293e66;color:#b9efff;font-weight:900;font-size:1.4rem}
.finder-path strong{font-size:.95rem;line-height:1.15}
.finder-path small{font-size:.73rem;color:#b9c8df;line-height:1.3}
.finder-path[aria-pressed=true]{border-color:#87dcf6;box-shadow:0 0 0 1px #78d8eb54,0 10px 24px #224a673d;background:linear-gradient(120deg,#24426b,#25224c)}
.finder-path:focus-visible,.visual-set-tile:focus-visible,.visual-chips button:focus-visible,.guide-family button:focus-visible,.finder-ai:focus-visible{outline:3px solid #8deaff;outline-offset:3px}
.finder-ai{display:flex;gap:12px;align-items:center;margin:12px 0 18px;border:1px solid #9b82ce82;background:linear-gradient(110deg,#28274b,#16233e);border-radius:15px;padding:12px 14px;text-decoration:none}
.finder-ai>span:first-child{font-size:1.6rem;flex-shrink:0;color:#ffd5ff}
.finder-ai>span:last-child{margin-left:auto;font-size:1.5rem;color:#bbf0ff}
.finder-ai strong,.finder-ai small{display:block}
.finder-ai strong{color:#f2ebff;font-size:.91rem}
.finder-ai small{color:#b8c9db;font-size:.73rem;line-height:1.45;margin-top:3px}
.visual-finder{border:1px solid #566ea2;border-radius:19px;background:linear-gradient(150deg,#17284a,#111b32 58%,#161931);padding:17px;margin-top:6px}
.visual-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:9px;flex-wrap:wrap}
.visual-heading h3{font-size:1.28rem;margin:4px 0 0;letter-spacing:-.018em}
.visual-heading>p{font-size:.78rem;color:#c2d3eb;line-height:1.45;margin:0;flex:1 0 180px;max-width:400px}
.guide-step{margin:0;color:#79deff;font-size:.72rem;font-weight:900;letter-spacing:.11em}
.unknown-guide{padding:14px;border:1px solid #6673ac;border-radius:15px;background:#0f1731;margin-bottom:16px}
.guide-family{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:10px}
.guide-family button{min-height:58px;border-radius:12px;background:#1b2a47;border:1px solid #64759b;color:#ecf7ff;font-weight:750;cursor:pointer;line-height:1.25;padding:12px;font-size:.85rem}
.guide-family button[aria-pressed=true]{background:#264968;border-color:#6deaff}
.guide-hint{font-size:.76rem;color:#b8c9e0;line-height:1.45;margin:12px 0}
.visual-controls{display:grid;gap:0}
.visual-controls label{font-size:.8rem;color:#e1e9fa;margin-top:13px}
.visual-controls input,.visual-controls select{background:#0b162b;border-color:#6d7a9d;min-height:48px;font-size:.94rem}
.visual-controls select:disabled{opacity:.6}
.visual-chips{display:flex;flex-wrap:wrap;gap:7px;margin:13px 0 5px}
.visual-chips button{min-height:43px;padding:9px 12px;border:1px solid #5e75a7;border-radius:40px;background:#182844;color:#e0e7fc;font-weight:720;font-size:.78rem;cursor:pointer}
.visual-chips button[aria-pressed=true]{background:#285f77;border-color:#80ecfc;color:#fff}
#visual-status{margin:13px 0 12px}
.visual-set-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,135px),1fr));gap:10px}
.visual-set-tile{min-width:0;min-height:164px;border:1px solid #536a98;background:linear-gradient(157deg,#1f3051,#121e37);border-radius:14px;display:flex;flex-direction:column;padding:10px;color:#f4f8ff;text-align:center;cursor:pointer;transition:transform .13s ease,border-color .13s ease}
.visual-set-tile:hover{border-color:#a5e6ff;transform:translateY(-2px)}
.visual-set-art{height:98px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;border:1px solid #596b90;border-radius:11px;background:radial-gradient(circle at center,#365177,#15243d 80%);padding:8px;overflow:hidden}
.visual-set-art img{height:76px;max-width:96%;width:auto;object-fit:contain;filter:drop-shadow(0 3px 7px #0007)}
.visual-set-art .visual-no-mark{font-size:.78rem;line-height:1.25;font-weight:700;color:#c4d7ed;overflow-wrap:anywhere}
.visual-set-art .visual-art-type{color:#b4c8ee;font-size:.58rem;line-height:1.2}
.visual-set-caption{display:grid;gap:4px;padding-top:9px;min-width:0}
.visual-set-caption strong{font-size:.79rem;font-weight:820;line-height:1.28;overflow-wrap:anywhere}
.visual-set-caption small{font-size:.67rem;color:#abc9e3;line-height:1.3;overflow-wrap:anywhere}
.visual-empty{grid-column:1/-1;border:1px dashed #6b7f9a;border-radius:12px;padding:19px;color:#c6d6ed;font-size:.87rem;line-height:1.5}
.expert-search{margin-top:15px;border:1px solid #6277a1;background:#101b34;border-radius:16px;overflow:hidden}
.expert-search>summary{padding:17px 18px;cursor:pointer;min-height:53px;font-size:.89rem;font-weight:810;color:#d5ecff}
.expert-search[open]>summary{border-bottom:1px solid #52688c}
.expert-inner{padding:15px}
.expert-inner .catalog-modes{margin:0 0 12px}
.expert-inner .catalog-modes button{flex:1}
.expert-inner .set-browser{padding:12px}
.expert-inner .quick-picks{margin-bottom:5px}
#visual-more{margin-top:12px}
@media(max-width:1050px){
 .rarefoil-master-printings .workspace{grid-template-columns:1fr}
 .visual-set-grid{grid-template-columns:repeat(auto-fill,minmax(145px,1fr))}
 .rarefoil-master-printings .detail{margin-top:0}
}
@media(max-width:650px){
 .rarefoil-master-printings main{padding:18px 12px 50px}
 .rarefoil-master-printings .hero h1{font-size:clamp(2.3rem,10vw,3.5rem)}
 .rarefoil-master-printings .finder,.rarefoil-master-printings .detail{padding:15px;border-radius:19px}
 .finder-paths{grid-template-columns:repeat(2,minmax(0,1fr))}
 .finder-path:nth-child(3){grid-column:1/-1;min-height:75px}
 .finder-path{min-height:112px}
 .finder-path strong{font-size:.88rem}
 .visual-finder{padding:12px}
 .visual-set-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .visual-set-tile{min-height:165px;padding:8px}
 .visual-set-art{height:94px}
 .visual-heading>p{flex-basis:100%}
 .guide-family{grid-template-columns:1fr}
 .expert-inner{padding:12px}
}
@media(max-width:360px){
 .visual-set-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .visual-set-tile{min-height:170px}
 .visual-set-art img{max-width:100%}
}
@media(prefers-reduced-motion:reduce){.visual-set-tile{transition:none}}

.detail-set-mark{display:flex;gap:11px;align-items:center;margin:8px 0 10px;padding:8px 11px;background:#13253c;border:1px solid #537c9a;border-radius:12px;max-width:350px}
.detail-set-mark img{width:56px!important;height:56px;max-height:56px;object-fit:contain;flex-shrink:0;background:#eaf5ff0c;border-radius:8px;padding:6px}
.detail-set-mark span{font-size:.76rem;color:#bfe0f0;font-weight:750;line-height:1.3}

/* VISIBLE SYMBOL REPAIR: bigger real artwork, readable titles, no four-column phone wall. */

/* VISIBLE SYMBOL REPAIR: bigger real artwork, readable titles, no four-column phone wall. */
.rarefoil-master-printings .visual-finder{
  background:linear-gradient(165deg,#102540,#111a30 65%,#131d37);
  border:1px solid #738cbd; padding:18px;
}
.rarefoil-master-printings .visual-heading h3{font-size:clamp(1.55rem,3vw,2rem);line-height:1.1}
.rarefoil-master-printings .visual-heading>p{max-width:100%;font-size:.93rem;line-height:1.55;color:#d6e6f6}
.rarefoil-master-printings .visual-controls>label{font-size:.98rem;font-weight:850}
.rarefoil-master-printings .visual-controls select{min-height:53px;font-size:1rem;background:#081b34}
.rarefoil-master-printings .visual-chips{gap:9px;margin-top:14px}
.rarefoil-master-printings .visual-chips button{font-size:.87rem;min-height:44px;padding:10px 15px}
.rarefoil-master-printings .visual-help-note{font-size:.89rem;line-height:1.5;color:#d0e2fa;margin:14px 0}
.rarefoil-master-printings #visual-status{font-weight:750;font-size:.94rem;color:#bfeaff;line-height:1.5;margin:14px 0}
.rarefoil-master-printings .visual-set-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.rarefoil-master-printings .visual-set-tile{
  padding:13px;min-width:0;min-height:235px;gap:10px;
  border:1px solid #6784b0;border-radius:17px;
  background:linear-gradient(145deg,#23385b,#152442);
  box-shadow:0 9px 22px #0003;
  color:#fff;justify-content:flex-start;
}
.rarefoil-master-printings .visual-set-art{
  height:157px;min-height:157px;width:100%;position:relative;
  background:linear-gradient(145deg,#f5f8ff,#e0e9fc);
  border:1px solid #b0c5e6;border-radius:13px;
  padding:13px;display:flex;justify-content:center;
  align-items:center;gap:4px;overflow:hidden;
}
.rarefoil-master-printings .visual-set-art img{
  display:block;height:112px;max-height:112px;max-width:100%;
  width:auto;object-fit:contain;border-radius:5px;
  filter:drop-shadow(0 3px 4px #233c5326);
}
.rarefoil-master-printings .visual-set-art img[hidden]{display:none!important}
.rarefoil-master-printings .visual-set-art .visual-no-mark{
  color:#233550;font-size:.93rem;line-height:1.35;font-weight:770;
  padding:12px;text-align:center;
}
.rarefoil-master-printings .visual-set-art .visual-art-type{
  position:absolute;bottom:5px;left:5px;right:5px;
  background:#e1eafbee;color:#192d48;font-size:.72rem;
  font-weight:800;letter-spacing:0;line-height:1.2;
  padding:5px;border-radius:6px;text-align:center;
}
.rarefoil-master-printings .visual-set-caption{padding:0 2px 3px;gap:6px}
.rarefoil-master-printings .visual-set-caption strong{
  font-size:1.02rem;line-height:1.35;font-weight:850;color:#f7fcff;
  overflow-wrap:break-word;word-break:normal;
}
.rarefoil-master-printings .visual-set-caption small{
  font-size:.85rem;line-height:1.35;font-weight:680;color:#bbd6ee;
}
.rarefoil-master-printings .visual-set-tile:hover,
.rarefoil-master-printings .visual-set-tile:focus-visible{
  border-color:#92eaff;box-shadow:0 0 0 2px #7ae4fa66,0 12px 25px #0005;
}
.rarefoil-master-printings .visual-extra-filters{
  border:1px solid #526c91;border-radius:12px;
  background:#0d1b34;margin:12px 0 2px;
}
.rarefoil-master-printings .visual-extra-filters summary{
  padding:14px 15px;min-height:49px;cursor:pointer;
  color:#d8e9ff;font-size:.94rem;font-weight:820;line-height:1.4;
}
.rarefoil-master-printings .visual-extra-filters[open] summary{border-bottom:1px solid #425b7c}
.rarefoil-master-printings .visual-filter-fields{padding:0 15px 17px}
.rarefoil-master-printings .visual-filter-fields>label{font-weight:750}
.rarefoil-master-printings .visual-filter-fields select,
.rarefoil-master-printings .visual-filter-fields input{min-height:48px}
.rarefoil-master-printings .detail-set-mark{
  background:#eff5ff;border:1px solid #c2cdee;color:#152b46;
}
.rarefoil-master-printings .detail-set-mark span{color:#182e46;font-size:.89rem}
@media(max-width:1100px){
 .rarefoil-master-printings .visual-set-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
 .rarefoil-master-printings .visual-set-tile{min-height:245px}
 .rarefoil-master-printings .visual-set-art{height:155px;min-height:155px}
 .rarefoil-master-printings .visual-set-art img{height:112px;max-height:112px}
}
@media(max-width:540px){
 .rarefoil-master-printings .visual-finder{padding:13px}
 .rarefoil-master-printings .visual-set-grid{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .rarefoil-master-printings .visual-set-tile{padding:9px;min-height:202px;gap:8px;border-radius:14px}
 .rarefoil-master-printings .visual-set-art{height:119px;min-height:119px;padding:7px}
 .rarefoil-master-printings .visual-set-art img{height:81px;max-height:81px}
 .rarefoil-master-printings .visual-set-caption strong{font-size:.96rem;line-height:1.34}
 .rarefoil-master-printings .visual-set-caption small{font-size:.79rem}
 .rarefoil-master-printings .visual-set-art .visual-art-type{font-size:.65rem;padding:4px}
}
@media(max-width:340px){
 .rarefoil-master-printings .visual-set-grid{grid-template-columns:1fr}
 .rarefoil-master-printings .visual-set-art{height:148px;min-height:148px}
 .rarefoil-master-printings .visual-set-art img{height:110px;max-height:110px}
}


/* Source-backed identity cards appear ONLY when a real mark is absent,
   unusable or a non-identifying card back/Poké Ball placeholder. */
.rarefoil-master-printings .visual-set-art--identity {
  padding: 7px;
  background: linear-gradient(140deg,#f7faff,#dce8fc);
}
.rarefoil-master-printings .visual-identity-badge {
  width: 100%; height: 100%; min-height: 0; min-width: 0;
  padding: 7px 7px 23px;
  box-sizing: border-box;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center; gap: 3px;
  text-align: center; overflow: hidden;
  border-radius: 10px;
  border: 1px solid #90b1db;
  background:
    radial-gradient(ellipse at 75% 0%,#d9f4ff 0,transparent 54%),
    linear-gradient(145deg,#f7f6ff 0%,#dfe9fe 55%,#cbdffc 100%);
  box-shadow: inset 0 0 0 1px #fff8;
  color: #112c56;
  flex: 1;
}
.rarefoil-master-printings .visual-identity-eyebrow {
  color: #46658b;
  font-size: .53rem; letter-spacing: .1em;
  line-height: 1.15; font-weight: 900;
}
.rarefoil-master-printings .visual-identity-primary {
  font-size: clamp(1.04rem,3.15vw,2.04rem);
  font-weight: 950; letter-spacing: -.015em;
  line-height: 1.05; color: #132c50;
  max-width: 100%; overflow-wrap: anywhere;
  text-shadow: 0 1px 0 #fff;
}
.rarefoil-master-printings .visual-identity-secondary {
  max-width: 100%; color: #2b4d72;
  font-size: .69rem; font-weight: 775; line-height: 1.17;
  overflow-wrap: anywhere;
}
.rarefoil-master-printings .visual-set-art--identity .visual-art-type {
  background: #d5e7ffed; color: #173655;
  font-size: .67rem; line-height: 1.2;
}
@media(max-width:540px) {
 .rarefoil-master-printings .visual-identity-badge {gap: 2px; padding: 4px 3px 21px}
 .rarefoil-master-printings .visual-identity-eyebrow {font-size: .46rem; letter-spacing: .03em}
 .rarefoil-master-printings .visual-identity-primary {font-size: clamp(.94rem,4.5vw,1.45rem)}
 .rarefoil-master-printings .visual-identity-secondary {font-size: .56rem; line-height: 1.1}
 .rarefoil-master-printings .visual-set-art--identity .visual-art-type {font-size: .57rem}
}

/* When an image endpoint fails, keep verified set codes readable on Android/iOS/desktop. */
.visual-set-art .visual-exact-code-fallback{display:inline-flex;align-items:center;justify-content:center;min-width:72%;max-width:96%;min-height:50px;padding:3px 12px;border:2px solid #fff;border-radius:11px;background:#050505;color:#fff;font:900 clamp(1.8rem,5vw,2.55rem)/1 Arial,Helvetica,sans-serif;letter-spacing:-.04em;text-shadow:none;box-shadow:0 3px 10px #0004}
