.edition-card-link{text-decoration:none;text-underline-offset:3px}.edition-card-link:hover,.edition-card-link:focus-visible{text-decoration:underline;color:var(--ink)}

:root{--ink:#152339;--muted:#59667a;--red:#d63243;--line:#dde3ec;--paper:#f5f7fb;--blue:#eaf0fb}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font:16px/1.5 system-ui,-apple-system,Segoe UI,sans-serif}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #2873c9;outline-offset:4px}.demo{background:#ffedbf;text-align:center;padding:8px 16px;font-size:14px;color:#654512}.wrap{max-width:1240px;margin:auto;padding:0 28px}header{background:var(--ink);color:white}.head{display:flex;align-items:center;gap:36px;padding-top:24px;padding-bottom:24px}.logo{text-decoration:none;font-weight:900;font-size:36px;letter-spacing:-2px}.logo span{color:#ff6372}.search{flex:1;position:relative}.search input{width:100%;border:1px solid #4e5c71;background:#26354c;color:white;border-radius:8px;padding:13px 17px}.search input::placeholder{color:#c1ccda}.cart-button{border:1px solid #627088;color:white;background:transparent;padding:12px 18px;border-radius:8px;white-space:nowrap}.count{display:inline-grid;place-items:center;min-width:25px;background:var(--red);border-radius:6px;margin-left:10px;font-size:14px}nav{background:white;border-bottom:1px solid var(--line)}.tabs{display:flex;gap:26px;overflow-x:auto}.tab{border:0;border-bottom:3px solid transparent;padding:17px 0;background:none;white-space:nowrap;color:var(--muted)}.tab.active{border-color:var(--red);color:var(--ink);font-weight:700}.intro{padding:38px 0 28px;display:flex;justify-content:space-between;gap:30px;align-items:center}.eyebrow{text-transform:uppercase;font-size:12px;font-weight:800;letter-spacing:2px;color:var(--red)}h1{font-size:clamp(28px,4vw,43px);line-height:1.15;letter-spacing:-1.4px;margin:9px 0 12px}p{margin:0 0 15px}.intro p{color:var(--muted);max-width:620px}.stamp{flex-shrink:0;border-left:3px solid var(--red);padding-left:20px}.stamp strong{display:block;font-size:20px}.stamp small{font-size:14px;color:var(--muted)}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:20px 0}.toolbar h2{font-size:20px;margin:0}.toolbar select{background:white;border:1px solid var(--line);padding:9px;border-radius:6px;color:var(--ink)}.subtle{font-size:14px;color:var(--muted)}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding-bottom:45px}.product{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden;display:flex;flex-direction:column;transition:transform .18s,box-shadow .18s}.product:hover{transform:translateY(-3px);box-shadow:0 10px 25px #15233910}.visual{display:grid;place-content:center;position:relative;height:190px;background:var(--tint,var(--blue));text-align:center}.symbol{font-size:70px;line-height:1.3}.visual small{font-size:12px;color:#526078;margin-top:8px}.badge{position:absolute;top:12px;left:12px;background:white;padding:3px 8px;border-radius:4px;font-size:12px;font-weight:700}.product-info{padding:18px;flex:1;display:flex;flex-direction:column}.category{color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:1px}.name{display:block;border:0;background:none;padding:0;text-align:left;font-weight:750;color:var(--ink);font-size:17px;margin:6px 0 9px;line-height:1.4}.name:hover{text-decoration:underline}.stock{color:#237149;font-size:14px;margin-bottom:17px}.bottom{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px}.price{font-size:22px;font-weight:800;white-space:nowrap}.primary{background:var(--red);border:1px solid var(--red);color:white;border-radius:6px;padding:10px 14px;font-weight:650}.primary:hover{background:#b92334}.secondary{background:white;border:1px solid var(--line);color:var(--ink);border-radius:6px;padding:9px 14px}.empty{grid-column:1/-1;text-align:center;background:white;border:1px dashed var(--line);padding:50px 20px;border-radius:8px}.empty h3{margin-top:0}footer{background:white;border-top:1px solid var(--line);padding:24px 0}.foot{display:flex;justify-content:space-between;gap:20px;align-items:center}.foot p{margin:0;color:var(--muted);font-size:14px}.foot strong{font-size:23px}dialog{border:0;border-radius:12px;padding:28px;width:min(680px,calc(100% - 28px));max-height:90dvh;color:var(--ink);box-shadow:0 25px 100px #0005}dialog::backdrop{background:#101c30aa;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;gap:18px;align-items:start;margin-bottom:20px}.dialog-head h2{margin:0;font-size:25px}.close{border:0;background:var(--paper);border-radius:50%;width:36px;height:36px;flex-shrink:0;font-size:24px;line-height:1}.detail-layout{display:grid;grid-template-columns:1fr 1.2fr;gap:25px}.detail-layout .visual{height:240px;border-radius:8px}.detail-layout .price{margin:18px 0}.cart-row{display:flex;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid var(--line)}.cart-row .row-info{flex:1}.row-name{font-weight:650}.qty{display:flex;align-items:center;gap:10px}.qty button{border:1px solid var(--line);background:var(--paper);border-radius:5px;width:32px;height:34px}.remove{border:0;background:none;color:var(--red);font-size:14px;padding:4px 0}.total{display:flex;justify-content:space-between;font-size:23px;font-weight:800;padding:20px 0}.wide{width:100%}.notice{background:#fff3d6;padding:12px 15px;border-radius:7px;font-size:14px;color:#674b1d;margin:15px 0}.shipping{display:grid;gap:10px;margin:15px 0}.shipping label{display:flex;align-items:center;gap:10px;border:1px solid var(--line);padding:12px;border-radius:6px}.shipping span{margin-left:auto}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:12px 20px;border-radius:8px;z-index:10;box-shadow:0 5px 22px #0003;max-width:90%;text-align:center}.toast:empty{display:none}@media(max-width:950px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.head{gap:20px}.stamp{display:none}}@media(max-width:700px){.wrap{padding-left:18px;padding-right:18px}.head{flex-wrap:wrap;justify-content:space-between;padding-top:15px;padding-bottom:18px;gap:14px}.search{order:3;flex-basis:100%}.logo{font-size:32px}.tabs{gap:23px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.intro{padding-top:27px}.intro p{margin-bottom:0}.toolbar{align-items:start}.toolbar select{max-width:150px}.visual{height:150px}.symbol{font-size:56px}.product-info{padding:13px}.bottom{flex-wrap:wrap}.bottom button{width:100%}.name{font-size:16px}.foot{align-items:start;flex-direction:column}.detail-layout{grid-template-columns:1fr}.detail-layout .visual{height:150px}.cart-row{flex-wrap:wrap}.cart-row .row-info{min-width:160px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
[hidden]{display:none!important}.visual{padding:12px;background:#fff;display:flex;align-items:center;justify-content:center}.visual img{width:100%;height:100%;object-fit:contain}.product .visual{cursor:pointer}.detail-layout .visual{height:340px}.detail-layout p,.legal-text{white-space:pre-wrap;overflow-wrap:anywhere}.gallery{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.gallery img{height:65px;width:55px;object-fit:contain}.gallery button{background:white;border:1px solid var(--line);border-radius:5px}.brand-foot{display:flex;gap:18px;align-items:center}.brand-foot img{border-radius:50%;object-fit:contain}.footer-links{display:flex;flex-wrap:wrap;gap:10px 22px;font-size:13px;padding-top:22px}.page{padding-top:32px;padding-bottom:40px;min-height:50vh;max-width:900px}.panel{padding:24px;background:white;border:1px solid var(--line);border-radius:10px;margin:16px 0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid label{display:block}.form-grid input,.form-grid select,.form-grid textarea,.form-control{display:block;width:100%;padding:10px;border:1px solid var(--line);border-radius:6px;background:white;color:var(--ink)}.full{grid-column:1/-1}.check{display:flex;gap:10px;align-items:flex-start;margin:20px 0}.check input{margin-top:6px}.error{color:#a71d2b;white-space:pre-wrap}.success{color:#237149}.payment-grid{display:grid;grid-template-columns:1fr 240px;gap:25px}.payment-grid img{width:100%;height:auto}.mobile-promise{display:none}.details{display:grid;grid-template-columns:auto 1fr;gap:8px 20px}.details dt{color:var(--muted)}.details dd{margin:0;overflow-wrap:anywhere}.summary-line{display:flex;justify-content:space-between;gap:20px;padding:8px 0;border-bottom:1px solid var(--line)}textarea{font:inherit}button{max-width:100%}h2,h3{overflow-wrap:anywhere}input[type=checkbox]{accent-color:var(--red)}@media(max-width:950px){.mobile-promise{display:block;color:var(--muted);font-size:14px}}@media(max-width:600px){.form-grid,.payment-grid{grid-template-columns:1fr}.panel{padding:16px}.payment-grid img{max-width:240px}.detail-layout .visual{height:290px}.details{grid-template-columns:1fr;gap:3px}.details dd{margin-bottom:10px}.brand-foot img{width:85px;height:85px}}
.bottom .primary{white-space:nowrap}.bottom{flex-wrap:wrap}

/* Compact catalogue cards; detail, cart and checkout retain their layout. */
#products{gap:14px;align-items:stretch}
.product .visual{height:185px;padding:10px 12px 4px}
.product-info{padding:10px 12px 12px;min-width:0}
.product .name{font-size:16px;line-height:1.3;margin:0 0 4px;overflow-wrap:anywhere}
.product-series{font-size:13px;line-height:1.4;color:var(--muted);margin-bottom:4px;overflow-wrap:anywhere}
.product-status{font-size:12px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}
.product-status .stock{font-size:inherit;margin:0;white-space:nowrap}
.product .bottom{margin-top:auto;gap:6px;padding-top:10px}
.product .price{font-size:20px}
.product .primary{padding:8px 10px;font-size:14px;min-height:40px}
@media(max-width:700px){#products{gap:10px}.product .visual{height:150px;padding:8px 8px 3px}.product-info{padding:8px 9px 10px}.product .name{font-size:15px}.product .bottom{margin-top:auto;padding-top:8px}.product .primary{min-height:44px}}

/* rc5: product detail only; catalogue and checkout retain their dimensions. */
html.product-detail-open{overflow:hidden}
#detail{width:min(1100px,calc(100% - 28px))}
#detail .detail-layout{grid-template-columns:minmax(0,1.38fr) minmax(0,1fr);gap:28px}
#detail .detail-layout>div{min-width:0}
#detail .detail-zoom{width:100%;height:clamp(360px,64dvh,680px);padding:0;border:0;cursor:zoom-in}
#detail .photo-hint{margin:8px 0 0;font-size:12px;text-align:center}
#detail .gallery button[aria-pressed=true]{border-color:var(--red);box-shadow:0 0 0 1px var(--red)}
#detail .details{grid-template-columns:minmax(0,auto) minmax(0,1fr)}
#detail .details dt{overflow-wrap:anywhere}
#photo-lightbox{width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:68px 60px;border:0;border-radius:0;background:#080c12f5;box-shadow:none;overflow:hidden;color:white}
#photo-lightbox[open]{display:flex;align-items:center;justify-content:center}
#photo-lightbox::backdrop{background:#080c12}
#lightbox-photo{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain}
#photo-lightbox button{position:absolute;width:44px;height:44px;padding:0;border:1px solid #ffffff60;border-radius:50%;background:#152339;color:white;font-size:30px;line-height:1}
.lightbox-close{top:12px;right:12px}
.lightbox-prev{left:8px;top:calc(50% - 22px)}
.lightbox-next{right:8px;top:calc(50% - 22px)}
#lightbox-count{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);font-size:14px}
@media(max-width:700px){
 #detail{padding:18px}
 #detail .detail-layout{grid-template-columns:minmax(0,1fr);gap:18px}
 #detail .detail-zoom{height:clamp(260px,55dvh,520px)}
 #photo-lightbox{padding:64px 10px 76px}
 #photo-lightbox .lightbox-prev,#photo-lightbox .lightbox-next{top:auto;bottom:12px}
 #photo-lightbox .lightbox-prev{left:20px}
 #photo-lightbox .lightbox-next{right:20px}
}

/* rc6: quiet edition code; existing contain grid retained. */
.set-code{display:inline-block;font-size:.78em;line-height:1.4;padding:1px 5px;border:1px solid var(--line);border-radius:4px;color:var(--muted);vertical-align:baseline}
.product .visual img{width:100%;height:100%;object-fit:contain}

/* Catalogue pagination only; existing grid and product rules preserved. */
.pagination{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;margin:28px 0;background:transparent;border:0}
.pagination[hidden]{display:none}
.pagination .page-link{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:6px;background:white;color:var(--ink);text-decoration:none}
.pagination .page-link[aria-current="page"]{background:var(--ink);color:white;border-color:var(--ink);font-weight:700}
.pagination .disabled{color:var(--muted);opacity:.55}.pagination .page-gap{padding:0 2px}
@media(max-width:420px){.pagination{gap:4px}.pagination .page-link{padding:8px;min-width:40px}}

/* Secondary TCG navigation; product cards unchanged. */
.card-type-tabs{gap:20px;flex-wrap:wrap;padding-top:0;padding-bottom:4px;border-top:1px solid var(--line)}
.card-type-tabs[hidden]{display:none}
.card-type-tabs .tab{font-size:14px;min-height:44px;padding:10px 0}

/* Denser wide-desktop catalogue; all narrower layouts stay unchanged. */
@media(min-width:1360px){
 #products{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
 #products .visual{height:170px;padding:8px 10px 4px}
 #products .product-info{padding:8px 10px 10px}
 #products .bottom{padding-top:8px}
}

/* Product permalinks reuse the detail appearance; catalogue dimensions stay intact. */
.product a.visual{text-decoration:none}
.product a.name:not(:hover){text-decoration:none}
#product-page .detail-layout{display:grid;grid-template-columns:minmax(0,1.38fr) minmax(0,1fr);gap:28px}
#product-page .detail-layout>div{min-width:0}
#product-page h1,#product-page dd{overflow-wrap:anywhere}
#product-page .product-page-photo{height:clamp(300px,64dvh,680px);padding:0;cursor:zoom-in}
#product-page .product-page-photo img{width:100%;height:100%;object-fit:contain}
#product-page .gallery{display:flex;flex-wrap:wrap;gap:8px}
#product-page .gallery a{display:block;width:64px;height:90px}
#product-page .gallery img{width:100%;height:100%;object-fit:contain}
#product-page .product-description{white-space:pre-line;overflow-wrap:anywhere}
#product-page .details{grid-template-columns:minmax(0,auto) minmax(0,1fr)}
#product-page-buy{min-height:44px}
@media(max-width:700px){#product-page .detail-layout{grid-template-columns:minmax(0,1fr);gap:18px}#product-page .product-page-photo{height:clamp(260px,55dvh,520px)}}

/* Compact, optional catalogue facets; grid/card dimensions unchanged. */
.catalogue-facets{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px;min-width:0}.catalogue-facets[hidden]{display:none}.catalogue-facets select{min-width:0;width:260px;max-width:100%;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:6px;background:white;color:var(--ink)}.catalogue-facets button{min-height:44px;max-width:100%;white-space:normal;overflow-wrap:anywhere}.catalogue-facets button[hidden]{display:none}
@media(max-width:480px){.catalogue-facets{display:grid;grid-template-columns:auto minmax(0,1fr)}.catalogue-facets select{width:100%}.catalogue-facets button{grid-column:1/-1;justify-self:start}}

/* Quiet visual polish; no card/image geometry changes. */
:root{--brand-red:#bc002d}.logo span,.brand-dot{color:var(--brand-red)}
#detail .details,#product-page .details{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px 0;margin:18px 0}
@media(min-width:951px){body{background:#edf0f4}#catalog>main{background:#fff;box-shadow:0 2px 12px #15233908;border-inline:1px solid #e4e8ee;padding-left:27px;padding-right:27px}}
@media(max-width:700px){.intro{padding-top:20px;padding-bottom:16px}.mobile-promise{margin-bottom:12px}.toolbar{padding-top:16px;padding-bottom:16px}}
