/* Private loopback stylesheet. The published legacy styles are not changed. */
.tcg-draft-status{border-left:4px solid #8061a6;background:#eee8f4;margin-bottom:24px}
.tcg-draft-status p{margin:5px 0 0}
.tcg-draft-logo{display:grid;place-items:center;min-width:0;padding:28px;border-radius:22px;background:var(--tcg-draft-logo-background,#fffdf7)}
.tcg-draft-logo img{max-width:100%;max-height:240px;height:auto;width:auto;object-fit:contain}
.tcg-draft-logo img.is-vector{width:100%;max-width:360px}
.tcg-draft .lc-printing:has(.lc-print-art>span){display:block;min-width:0}
.tcg-draft .lc-print-art:has(>span){display:none}
.tcg-draft .lc-profile:has(>figure>span){grid-template-columns:minmax(0,1fr)}
.tcg-draft .lc-profile>figure:has(>span){display:none}
.tcg-draft .lc-card-copy,.tcg-draft .lc-facts,.tcg-draft .atlas-set{min-width:0;overflow-wrap:anywhere}
.tcg-draft .atlas-set-grid>article{background:#fffdf8;border:1px solid #e5dcce;border-radius:16px;padding:20px}
.tcg-draft .lc-facts dd{white-space:pre-wrap}
.tcg-draft .encyclopedia-guide-grid a{min-width:0;overflow-wrap:anywhere}
@media(max-width:650px){.tcg-draft .encyclopedia-hero{display:flex;flex-direction:column}.tcg-draft-logo{width:100%;padding:24px}.tcg-draft-logo img{max-height:140px}.tcg-draft .lc-glimmer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tcg-draft .lc-card-copy{padding:12px}.tcg-draft .lc-card-copy h3{font-size:17px}.tcg-draft .lc-card-copy p{font-size:12px}}
@media(max-width:360px){.tcg-draft .lc-glimmer-grid{grid-template-columns:minmax(0,1fr)}}

/* Each genuine logo uses the same reviewed surface as the library and blog. */
/* Raster viewports preserve their native glyph resolution. */
.tcg-draft-logo img[src*="cardfightvanguard"]{max-width:min(100%,260px)}
.tcg-draft-logo img[src*="weissschwarz"]{max-width:min(100%,420px)}
.tcg-draft-logo img[src*="universus"]{max-width:min(100%,770px)}
/* The global header must show complete labels; only the game tabs scroll. */
@media(max-width:960px){
 .tcg-draft .encyclopedia-site-header nav{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;white-space:normal;gap:4px 12px;padding:4px 0}
 .tcg-draft .encyclopedia-site-header nav a{min-width:0;max-width:100%;font-size:13px;white-space:normal;overflow:visible;text-overflow:clip;justify-content:center}
}
/* Commit hashes, identifiers and original source URLs remain fully readable. */
.tcg-draft .atlas p,.tcg-draft .atlas li{overflow-wrap:anywhere}
.tcg-draft .lc-prose p{white-space:pre-line}
.tcg-card-texts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.5rem 0}
.tcg-card-texts .lc-prose{min-width:0;overflow-wrap:anywhere}
.tcg-draft-product-image{margin:0}
.tcg-draft-product-image img{max-width:100%;height:auto}
@media(max-width:650px){.tcg-card-texts{grid-template-columns:minmax(0,1fr)}}
@media(max-width:360px){.tcg-draft .encyclopedia-site-header nav{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:8px}.tcg-draft .encyclopedia-site-header nav a{font-size:12px}}
/* Reflow follows the user's font size as well as the viewport width. */
@media(max-width:960px){
 .tcg-draft .encyclopedia-site-header nav{font-size:1rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,6em),1fr))}
 .tcg-draft .encyclopedia-site-header nav a{overflow-wrap:anywhere;text-align:center}
 .tcg-draft .atlas-filters button{grid-column:1/-1;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
}
