@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Inter:wght@400;500;600&display=swap');
:root{--forest:#123b2c;--deep:#0d281f;--gold:#b68d48;--paper:#f7f4ec;--ink:#253a30;--muted:#6b7469;--line:#deded0}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:14px Inter,Arial,sans-serif}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{outline-offset:5px}button{cursor:pointer}header{height:104px;display:flex;align-items:center;justify-content:space-between;padding:16px 6%;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:14px;font:20px Georgia,serif;letter-spacing:3px}.brand img{width:130px;max-height:72px;object-fit:contain}.brand span{display:none}.brand small{font-size:11px}nav{display:flex;gap:32px;font-size:12px}nav a:last-child{border:1px solid #b0b9a8;padding:12px 18px}.hero{background:var(--forest);color:#f6f2e6;display:grid;grid-template-columns:1.15fr 1fr;min-height:515px;padding:64px 6% 46px;gap:60px;background-image:radial-gradient(ellipse at 85% 35%,#31594788,transparent 55%)}.eyebrow{font-size:10px;letter-spacing:2.8px;font-weight:600;color:var(--gold);margin:0 0 18px}h1,h2,h3{font-family:'Cormorant Garamond',Georgia,serif;font-weight:500}h1{font-size:64px;line-height:1.06;margin:0 0 23px;letter-spacing:-1.6px}.lede{max-width:480px;color:#d0d9cc;line-height:1.8;font-size:14px}.primary{display:inline-flex;justify-content:space-between;gap:44px;margin-top:22px;padding:16px 23px;background:#c29c5c;color:#132e21;font-size:12px;font-weight:600}.facts{display:flex;gap:32px;margin-top:40px;font-size:10px;color:#b8c7b7}.facts b{display:block;color:#f3f1e6;font-size:13px;margin-bottom:7px}.hero-art{position:relative;display:flex;justify-content:center;align-items:center;border:1px solid #bba47755;margin:0 10px 28px;padding:25px;background:radial-gradient(circle,#58745844,transparent 70%)}.hero-art:before{content:'';position:absolute;inset:12px;border:1px solid #bba47733}.hero-art>img{max-width:72%;max-height:300px;object-fit:contain;filter:drop-shadow(0 18px 12px #0005);z-index:1}.seal{position:absolute;top:16px;right:18px;width:94px;height:94px;border:1px solid #c4a46488;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:9px;letter-spacing:1px;text-align:center;color:#d1b784;z-index:2;background:#153d30dd}.seal span{font-size:20px;margin:3px}.art-caption{position:absolute;bottom:-30px;letter-spacing:2.4px;font-size:9px;color:#c9b68c}.draft{display:flex;gap:22px;align-items:center;padding:16px 6%;background:#eae6d6;color:#615b42;font-size:11px;line-height:1.65}.draft b{white-space:nowrap;border:1px solid #bcad89;padding:5px 10px;font-size:10px}.archive{padding:64px 6%}.section-title{display:flex;justify-content:space-between;align-items:end;margin-bottom:26px}h2{font-size:39px;line-height:1.1;margin:0}.section-title p:last-child{color:var(--muted);font-size:12px}.toolbar{display:flex;gap:12px}.search{background:white;border:1px solid var(--line);display:flex;align-items:center;gap:14px;padding:0 18px;flex:1}.search span{font-size:24px}.search input{width:100%;border:0;background:transparent;height:48px;font-size:12px}.toolbar select,.quiet{background:transparent;border:1px solid var(--line);padding:12px 18px}.quiet{color:var(--muted)}.chips{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0 26px}.chips button{border:1px solid var(--line);color:var(--muted);background:transparent;padding:9px 15px;font-size:11px;border-radius:2px}.chips button.active{background:var(--forest);color:white;border-color:var(--forest)}.resultline{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted);margin-bottom:18px}.resultline select{border:0;background:transparent;color:var(--ink);font-size:11px}.sets{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.set{background:#fff;border:1px solid #e1e1d6;text-align:left;padding:0;color:var(--ink);transition:transform .2s,box-shadow .2s;overflow:hidden}.set:hover{transform:translateY(-4px);box-shadow:0 10px 25px #253a3015}.set-image{position:relative;height:220px;background:linear-gradient(135deg,#eeefe5,#f6f5ed);display:flex;align-items:center;justify-content:center;padding:25px}.set-image img{max-width:90%;max-height:175px;object-fit:contain;filter:drop-shadow(0 9px 7px #0002)}.set-image .code{position:absolute;left:14px;top:14px;font-size:9px;letter-spacing:1px;color:#536651}.set-info{padding:20px}.set-info small{font-size:9px;letter-spacing:1px;color:var(--gold);text-transform:uppercase}.set-info h3{font-size:24px;line-height:1.05;margin:9px 0;min-height:50px}.zh{font-size:10px;color:var(--muted);margin:0 0 19px}.set-bottom{display:flex;justify-content:space-between;font-size:10px;border-top:1px solid #e9ebe1;padding-top:13px;color:var(--muted)}.set-bottom span:last-child{color:var(--forest)}.rarity-section{padding:64px 6%;background:#e9eddf;display:grid;grid-template-columns:1fr 1.2fr;gap:70px;border-block:1px solid #d8decf}.rarity-section p{font-size:12px;line-height:1.9;max-width:420px;color:var(--muted)}.rarity-guide{display:grid;grid-template-columns:1fr 1fr;gap:12px}.rarity-guide div{background:#f7f8f0;border:1px solid #d4dacb;padding:16px;display:flex;align-items:center;gap:15px}.rarity-guide b{color:var(--forest);width:38px;font-family:Georgia;font-size:21px}.rarity-guide span{font-size:12px}.rarity-guide small{display:block;font-size:9px;color:var(--muted);margin-top:5px}.notes{padding:55px 6%;max-width:1100px}.notes h2{font-size:28px}.notes p{font-size:11px;line-height:1.9;color:var(--muted)}.notes div{display:flex;gap:30px;font-size:10px;margin-top:20px}.notes a{text-decoration:underline;text-underline-offset:4px}footer{background:var(--deep);color:#c5cdbd;display:flex;justify-content:space-between;padding:32px 6%;font-size:10px;letter-spacing:.8px}dialog{width:min(1160px,94vw);max-height:92vh;overflow:auto;border:0;padding:35px;background:var(--paper);color:var(--ink)}dialog::backdrop{background:#071910ba;backdrop-filter:blur(3px)}.close{position:sticky;float:right;top:0;border:1px solid var(--line);background:var(--paper);width:36px;height:36px;font-size:22px;z-index:4}.detail-head{display:grid;grid-template-columns:200px 1fr;gap:38px;margin-bottom:30px}.detail-head img{width:100%;height:200px;object-fit:contain}.detail-head h2{margin:10px 0}.detail-head p{font-size:12px;line-height:1.7;color:var(--muted)}.source{font-size:11px;text-decoration:underline}.notice{padding:16px;background:#eae6d6;font-size:11px;line-height:1.7;margin-bottom:24px}.card-toolbar{display:flex;gap:12px;margin:20px 0}.card-toolbar input{flex:1}.card-toolbar input,.card-toolbar select{padding:12px;border:1px solid var(--line);background:white;min-width:0}.cards{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.card{padding:10px;border:1px solid var(--line);background:white;text-align:left;color:var(--ink)}.card img{width:100%;aspect-ratio:63/88;object-fit:contain}.card strong{display:block;font-size:11px;margin-top:10px}.card small{display:block;font-size:9px;color:var(--muted);margin:6px 0}.badge{font-size:9px;padding:4px 7px;display:inline-block;background:#e9eddf;color:#315747}.badge[data-r="U"]{background:#dce6f1;color:#38556e}.badge[data-r="R"]{background:#eee0be;color:#775b26}.badge[data-r="RR"],.badge[data-r="RRR"]{background:#eadff0;color:#714d84}.empty{text-align:center;padding:55px 20px;background:#efeee4;line-height:1.8;color:var(--muted);grid-column:1/-1}#lightbox{width:min(540px,92vw)}#lightboxBody img{display:block;max-width:100%;max-height:66vh;margin:auto}#lightboxBody h3{font-size:25px;margin-bottom:6px}#lightboxBody p{font-size:11px;color:var(--muted)}.image-failure{color:var(--muted);font-size:11px;text-align:center;padding:15px}.image-failure img{display:none}
@media(min-width:1500px){main,header,footer{max-width:1600px;margin:auto}.hero h1{font-size:76px}}@media(max-width:900px){.hero{gap:24px}.hero h1{font-size:49px}.facts{gap:15px}.sets{grid-template-columns:repeat(3,1fr)}.set-image{height:195px}.rarity-section{gap:30px}.cards{grid-template-columns:repeat(4,1fr)}}@media(max-width:620px){header{height:82px;padding-inline:5%}.brand img{width:105px}nav{gap:15px;font-size:10px}nav a:first-child{display:none}nav a:last-child{padding:9px}.hero{grid-template-columns:1fr;padding:36px 5%;gap:30px}.hero h1{font-size:46px}.hero-art{height:260px;margin-top:0;margin-bottom:25px}.hero-art>img{max-height:210px}.facts{flex-wrap:wrap;gap:20px;margin-top:28px}.draft{display:block;padding-inline:5%}.draft b{display:inline-block;margin-bottom:9px}.draft span{display:block}.archive{padding:40px 5%}.section-title{display:block}.section-title p:last-child{margin:14px 0 0}.toolbar{flex-wrap:wrap}.search{flex-basis:100%}.toolbar select{flex:1}.sets{grid-template-columns:repeat(2,1fr);gap:12px}.set-image{height:170px;padding:24px 15px}.set-image img{max-height:130px}.set-info{padding:14px}.set-info h3{font-size:21px;min-height:45px}.set-bottom{gap:5px;font-size:8px}.rarity-section{display:block;padding:40px 5%}.rarity-guide{margin-top:24px;gap:8px}.rarity-guide div{padding:12px;gap:8px}.notes{padding:40px 5%}.notes div{flex-direction:column;gap:15px}footer{gap:18px;flex-wrap:wrap;padding:26px 5%}dialog{padding:20px}.detail-head{grid-template-columns:100px 1fr;gap:15px}.detail-head img{height:130px}.detail-head h2{font-size:28px}.cards{grid-template-columns:repeat(2,1fr);gap:10px}.card-toolbar{flex-wrap:wrap}.card-toolbar input{flex-basis:100%}}

.scan-pending{aspect-ratio:63/88;width:100%;display:flex;align-items:center;justify-content:center;text-align:center;line-height:1.7;background:#efeee5;border:1px dashed #cbd2c0;color:#75806f;font-size:11px}

#lightbox{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:20px 30px;border-radius:0}#lightbox .close{position:fixed;top:16px;right:20px}#lightboxBody{height:100%}.viewer-toolbar{display:flex;align-items:center;gap:12px;padding:0 45px 16px 0;min-height:55px}.viewer-toolbar span{font-size:12px;color:var(--muted)}.viewer-toolbar button:disabled{opacity:.4;cursor:default}.viewer-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:36px;min-height:calc(100dvh - 105px)}.card-stage{display:flex;align-items:center;justify-content:center;background:#eae8de;overflow:auto;min-height:300px;height:calc(100dvh - 105px);padding:18px}#lightboxBody .card-stage img{max-height:100%;max-width:100%;width:auto;margin:auto;object-fit:contain}.card-stage.zoomed{display:block}#lightboxBody .card-stage.zoomed img{max-height:none;max-width:none;width:min(900px,180%);margin:auto}.card-stage .scan-pending{width:min(380px,100%);max-height:100%}.viewer-details{align-self:center;padding:10px 0 30px}.viewer-details h2{font-size:42px}.viewer-details dl{margin-top:24px}.viewer-details dl div{display:grid;grid-template-columns:140px 1fr;gap:16px;padding:10px 0;border-bottom:1px solid var(--line);font-size:12px;line-height:1.5}.viewer-details dt{color:var(--muted)}.viewer-details dd{margin:0;overflow-wrap:anywhere}#lightboxBody .viewer-note{font-size:12px;line-height:1.7}.viewer-details .source{display:inline-block;margin-top:8px}@media(max-width:700px){#lightbox{padding:16px}.viewer-toolbar{flex-wrap:wrap;gap:8px;padding-right:32px}.viewer-toolbar button{font-size:11px;padding:8px}.viewer-layout{display:block}.card-stage{height:65dvh;min-height:220px;padding:10px}.viewer-details{padding-top:26px}.viewer-details h2{font-size:32px}.viewer-details dl div{grid-template-columns:120px 1fr;gap:10px}}

.badge[data-r="Uncommon"]{background:#dce6f1;color:#38556e}.badge[data-r="Rare"]{background:#eee0be;color:#775b26}.badge[data-r="Double Rare"],.badge[data-r="Triple Rare"],.badge[data-r="Art Rare"],.badge[data-r="Special Art Rare"]{background:#eadff0;color:#714d84}

.reference-cover{height:100%;min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:22px;font:26px Georgia,serif;color:var(--forest);background:#ebe7da}.reference-cover span{font:12px Inter,Arial,sans-serif;margin-top:15px;line-height:1.6}.product-caption{font-size:11px;color:var(--muted);line-height:1.7}

/* Exclusive cards and full rarity groups */
.exclusive-showcase{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:30px 22px;min-height:450px;overflow:hidden}.exclusive-showcase .eyebrow{position:relative;color:inherit;letter-spacing:2px;text-align:center}.showcase-fan{display:flex;align-items:center;justify-content:center;width:100%;padding:25px 8px 35px}.showcase-card{border:0;background:none;padding:0;width:32%;max-width:190px;cursor:pointer;position:relative;transition:transform .2s}.showcase-card img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;border-radius:9px;box-shadow:0 14px 25px #0005}.showcase-card:first-child{transform:rotate(-13deg) translateX(15px);z-index:1}.showcase-card:nth-child(2){transform:translateY(-12px);z-index:3}.showcase-card:last-child{transform:rotate(13deg) translateX(-15px);z-index:2}.showcase-card:hover,.showcase-card:focus-visible{transform:translateY(-22px);z-index:4}.showcase-link{background:none;border:0;color:inherit;cursor:pointer;text-align:center;padding:12px}.showcase-link strong{display:block;font-size:28px;font-family:Georgia,serif}.showcase-link span{display:block;margin-top:8px;font-size:14px}.showcase-card:focus-visible,.showcase-link:focus-visible{outline:3px solid #d4b366;outline-offset:5px}#cards.cards{display:block}.rarity-group{margin:26px 0 38px}.rarity-heading{display:flex;align-items:baseline;justify-content:space-between;border-bottom:1px solid #c9c2ac;margin-bottom:18px;padding-bottom:10px;gap:15px}.rarity-heading h3{font-size:25px;margin:0}.rarity-heading span{font-size:13px;color:#68685d}.rarity-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}.rarity-grid .card{min-width:0}@media(max-width:900px){.rarity-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.exclusive-showcase{min-height:380px}}@media(max-width:600px){.rarity-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.exclusive-showcase{padding:24px 10px;min-height:340px}.showcase-link strong{font-size:25px}.rarity-heading h3{font-size:22px}}

.exclusive-showcase{height:auto}.exclusive-showcase:before{pointer-events:none}

.card.chinese-exclusive{border:2px solid #ae8e47;background:#fffdf5;box-shadow:0 2px 8px #b4975420}.exclusive-badge{display:block;background:#244737;color:#fff0be;font-size:10px;font-weight:700;text-align:center;padding:7px 4px;margin:-1px -1px 9px;letter-spacing:.2px}.card.chinese-exclusive:focus-visible{outline:3px solid #244737;outline-offset:3px}

.shelf-heading{grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;border-bottom:1px solid var(--line);gap:15px;padding:20px 0 12px;margin-top:10px}.shelf-heading:first-child{padding-top:0;margin-top:0}.shelf-heading h3{font-family:Georgia,serif;font-size:29px;font-weight:normal;margin:0;color:var(--ink)}.shelf-heading span{font-size:12px;color:var(--muted)}@media(max-width:600px){.shelf-heading h3{font-size:24px}}

.era-heading{grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;gap:12px;background:#e7ece3;border-left:3px solid #ad914f;padding:12px 16px;margin-top:8px}.era-heading h4{margin:0;font-size:19px;font-weight:600;color:#244737}.era-heading span{font-size:12px;color:var(--muted)}@media(max-width:600px){.era-heading h4{font-size:17px}}

.origin-badge{line-height:1.5;overflow-wrap:anywhere;padding:8px 6px}.origin-badge small{display:block;color:#fff0be;font-size:10px;margin:3px 0 0;font-weight:400}

.origin-set-group{margin:36px 0 48px}.origin-set-heading{border-bottom:2px solid var(--gold);padding-bottom:12px}.origin-set-heading h3{font-size:30px;margin:0 0 8px}.origin-set-heading p{margin:0;color:var(--muted);font-size:12px}.origin-set-group .rarity-heading h3{font-size:22px}

.booster-contents{margin:24px 0}.booster-contents h3{font-size:25px}.booster-contents p{color:#667269}.booster-contents>div{display:flex;flex-wrap:wrap;gap:10px}.included-pack{text-align:left}

/* Product photographs fill their frames; white photo backdrops blend into paper. */
.set-image{height:auto;aspect-ratio:1/1;background:#eeefe5;padding:32px 10px 10px;isolation:isolate;overflow:hidden}
.set-image img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;mix-blend-mode:multiply;filter:none}
.set-image .code{z-index:1;top:12px;left:14px}
.detail-head>div:first-child{background:#eeefe5;isolation:isolate;padding:8px}
.detail-head img{height:280px;object-fit:contain;mix-blend-mode:multiply;filter:none}
@media(max-width:900px){.set-image{height:auto;padding:30px 8px 8px}}
@media(max-width:620px){.set-image{height:auto;padding:26px 6px 6px}.set-image img{max-height:none}.set-image .code{top:9px;left:10px;font-size:11px}.detail-head img{height:240px}}

/* Compact release captions and fit complete packaging inside each image frame. */
.set-image{display:block;padding:0;aspect-ratio:1/1;overflow:visible}
.set-image img{position:absolute;top:30px;left:10px;width:calc(100% - 20px);height:calc(100% - 40px);max-width:none;max-height:none;object-fit:contain;object-position:center}
.set-info{padding:14px 16px}
.set-info h3{min-height:0;line-height:1.08;margin:6px 0}
.set-info .zh{margin:6px 0 10px;line-height:1.35}
.set-bottom{padding-top:9px;gap:8px}
@media(max-width:900px){.set-image{padding:0}.set-image img{top:28px;left:8px;width:calc(100% - 16px);height:calc(100% - 36px)}}
@media(max-width:620px){.set-image{padding:0}.set-image img{top:24px;left:6px;width:calc(100% - 12px);height:calc(100% - 30px);max-height:none}.set-info{padding:10px 12px}.set-info h3{min-height:0;line-height:1.08;margin:5px 0}.set-info .zh{margin:5px 0 8px;line-height:1.3}.set-bottom{padding-top:8px}}

/* Codes sit with the release names; the whole frame is available to packaging. */
.set-image img{top:8px;left:8px;width:calc(100% - 16px);height:calc(100% - 16px);object-fit:contain}
.set-info .set-code{margin:5px 0;font-size:10px;line-height:1.25;letter-spacing:1px;color:var(--muted)}
@media(max-width:900px){.set-image img{top:7px;left:7px;width:calc(100% - 14px);height:calc(100% - 14px)}}
@media(max-width:620px){.set-image img{top:6px;left:6px;width:calc(100% - 12px);height:calc(100% - 12px)}.set-info .set-code{font-size:9px;margin:4px 0}}

.format-bullets{padding-left:19px;margin:10px 0 0;font-size:14px;line-height:1.45}.format-bullets li{margin:3px 0}.compact-count{padding:10px 14px;margin:16px 0;font-size:14px}.compact-count small{display:block;font-size:12px;margin-top:3px}.detail-head .release-date{font-size:13px;margin:5px 0}.detail-head .zh{margin:6px 0}
.reference-label{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#746b56;margin:5px 0 0}.compact-count small{display:block;margin-top:4px;font-size:11px}
