/* An original portrait trading-card system for the Continuance Prints. */
#collectibles-root { --foundry-ink:#e8edf0; --foundry-muted:#a7bbc6; --foundry-edge:#384e60; color:var(--foundry-ink); }
#collectibles-root [hidden] { display:none !important; }
.foundry-hero { min-height:430px; position:relative; overflow:hidden; background:radial-gradient(ellipse at 75% 50%,#273c56 0,transparent 53%),linear-gradient(120deg,#0c151e,#111d29); border-bottom:1px solid #3f5263; display:flex; align-items:center; justify-content:space-between; gap:34px; padding:58px 54px; }
.foundry-hero-grid { position:absolute; inset:0; opacity:.25; background:linear-gradient(90deg,#7c97ae18 1px,transparent 1px),linear-gradient(#7c97ae18 1px,transparent 1px); background-size:56px 56px; mask-image:linear-gradient(90deg,transparent,#000); }
.foundry-hero-copy { position:relative; z-index:2; flex:1 1 0; min-width:0; max-width:675px; }
.foundry-hero h1 { margin:22px 0; font-family:Georgia,'Times New Roman',serif; font-size:clamp(38px,4.2vw,64px); font-weight:400; line-height:1.07; letter-spacing:-1.5px; }
.foundry-hero h1 em { color:#e6c88a; font-weight:400; }
.foundry-hero-copy > p:not(.eyebrow) { color:#bac9d2; max-width:600px; font-size:16px; line-height:1.75; }
.foundry-hero-meta { display:flex; flex-wrap:wrap; gap:19px; margin-top:26px; font-size:10px; letter-spacing:1.4px; color:#b9a27b; }
.foundry-hero-meta span + span::before { content:'◇'; color:#627b92; margin-right:19px; }
.foundry-showcase { position:relative; flex:0 0 390px; width:390px; height:333px; perspective:1000px; z-index:1; }
.foundry-showcase .print-card { position:absolute; width:220px; }
.foundry-showcase .print-card:first-child { top:3px; left:0; transform:rotate(-12deg) scale(.92); filter:brightness(.73); }
.foundry-showcase .print-card:last-child { top:0; left:132px; transform:rotate(11deg); box-shadow:0 20px 70px #0008,0 0 40px #71a8b529; }
.foundry-content { padding-top:42px; }
.foundry-introduction,.foundry-section-heading,.foundry-series-detail { display:flex; justify-content:space-between; gap:25px; align-items:center; }
.foundry-introduction h2,.foundry-section-heading h2,.foundry-series-detail h2 { font-family:Georgia,'Times New Roman',serif; font-weight:400; font-size:31px; margin:7px 0 10px; color:#e8edf0; }
.foundry-storage-label { color:#92a7b5; font-size:12px; margin:12px 0 0; }
.foundry-totals { display:flex; gap:28px; }
.foundry-totals > span { display:flex; flex-direction:column; align-items:flex-end; gap:7px; }
.foundry-totals strong { font-weight:400; font-size:33px; color:#e5c68b; line-height:1; font-family:Georgia,serif; }
.foundry-totals strong small { font-size:17px; color:#6f8698; }
.foundry-totals > span > span { color:#a3b7c2; font-size:11px; }
.foundry-totals .foundry-foil-number { color:#b5e6e9; text-shadow:0 0 18px #8dd9dd50; }
.foundry-concept-note { font-size:12px; line-height:1.8; color:#96adbd; max-width:1000px; margin:25px 0; }
.foundry-storage-warning { color:#f2d9ab; background:#6c4b2029; border:1px solid #937344; padding:15px 18px; line-height:1.6; font-size:13px; }
.foundry-recovery { background:linear-gradient(115deg,#1c2c3c,#172532); border:1px solid #435b70; box-shadow:inset 3px 0 #d6b782; padding:25px 28px; display:grid; grid-template-columns:1fr 1.16fr; gap:36px; align-items:center; }
.foundry-recovery h3 { font-family:Georgia,serif; font-size:25px; font-weight:400; margin:9px 0; }
.foundry-recovery-copy > p:last-child { color:#b1c2ce; line-height:1.75; margin:0; font-size:13px; }
.foundry-recovery-copy > #foundry-source-description { color:#b1c2ce; line-height:1.75; margin:0; font-size:13px; }
.foundry-recovery-copy > .foundry-source-condition { margin-top:12px !important; padding-top:11px; border-top:1px solid #3a5061; font-size:10px !important; color:#8ca8ba !important; line-height:1.7 !important; }
.foundry-recovery-controls > label,.foundry-filter-label,.print-forge-section > label { font-size:11px; letter-spacing:.5px; color:#bdccd5; display:block; }
.foundry-recovery-row { display:flex; gap:10px; margin-top:9px; }
#collectibles-root select { min-width:0; min-height:44px; padding:9px 35px 9px 13px; font-size:13px; }
.foundry-recovery-row select { flex:1; width:0; }
.foundry-recovery-row .button { white-space:nowrap; flex-shrink:0; }
.foundry-recovery-controls > p { margin:11px 0 0; font-size:11px; color:#8fa7b7; line-height:1.5; }
#collectibles-root .button { min-height:44px; font-size:12px; padding:10px 17px; border-radius:3px; }
#collectibles-root .foundry-primary { background:linear-gradient(130deg,#e8cf9f,#c5a873); color:#172330; border-color:#eed7ac; font-weight:700; box-shadow:inset 0 1px #fff5,0 3px 12px #0003; }
#collectibles-root .foundry-primary:hover:not(:disabled) { background:linear-gradient(130deg,#f5dfb8,#dfbd83); box-shadow:0 0 19px #d3b37c22; }
.foundry-status { color:#c4d7e1; border-bottom:1px solid #354b5e; padding:17px 4px; font-size:13px; min-height:54px; line-height:1.55; }
.foundry-status::before { content:'◇'; color:#cdb383; padding-right:11px; }
.foundry-latest { display:flex; align-items:center; gap:15px; padding:15px 18px; margin-top:14px; border:1px solid #435a6c; background:linear-gradient(120deg,#203343,#152634); border-radius:3px; }
.foundry-latest > img { width:48px; height:67px; object-fit:cover; border:1px solid #a5b9c4; border-radius:3px; }
.foundry-latest > div { display:flex; flex-direction:column; gap:6px; }
.foundry-latest > div > span { text-transform:uppercase; font-size:8px; letter-spacing:1.4px; color:#9bb3c2; }
.foundry-latest strong { font-family:Georgia,serif; font-weight:400; font-size:19px; color:#e9ddc7; }
.foundry-latest small { font-size:10px; color:#8ca7b8; }.foundry-latest .text-button { margin-left:auto; }
.foundry-series-section { padding-top:38px; }
.foundry-section-heading { margin-bottom:22px; }
#collectibles-root .text-button { font-size:12px; color:#d7bd8c; min-height:42px; padding:7px 0; }
.foundry-series { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; margin:0 0 32px; }
.foundry-series-tab { background:#162431; border:1px solid #354c60; border-radius:3px; text-align:left; padding:15px 11px 12px; position:relative; display:grid; grid-template-columns:42px 1fr; gap:9px; color:#bbcbd5; min-width:0; cursor:pointer; }
.foundry-series-tab img { width:42px; height:45px; object-fit:contain; }
.foundry-series-tab-copy { display:flex; flex-direction:column; gap:6px; min-width:0; }
.foundry-series-number { color:#7792a5; font-size:8px; letter-spacing:1.5px; }
.foundry-series-tab-copy strong { font-size:12px; font-weight:500; color:#d2dfe6; white-space:nowrap; }
.foundry-series-tab-copy > span:last-child { font-size:10px; color:#96aebd; }
.foundry-series-tab.active { background:linear-gradient(150deg,#243443,#192733); border-color:var(--series-accent); box-shadow:inset 0 2px var(--series-accent),0 4px 18px #0002; }
.foundry-series-tab:hover { border-color:var(--series-accent); }
.foundry-series-tab.active strong { color:var(--series-accent); }
.foundry-seal-dots { grid-column:1 / -1; border-top:1px solid #344858; padding-top:8px; display:flex; justify-content:center; gap:20px; }
.foundry-seal-dots i { font-style:normal; font-size:13px; color:#4f6578; }
.foundry-seal-dots i.earned { color:var(--series-accent); text-shadow:0 0 8px #c3d9db60; }
.foundry-seal-dots .seal-foil.earned { color:#b0ecf0; }
.foundry-series-detail { align-items:end; }
.foundry-series-detail > div { max-width:850px; }
.foundry-series-detail p:last-child { color:#a6bdcc; font-size:14px; line-height:1.7; margin:0; }
.foundry-filter-label { flex:0 0 180px; }
.foundry-filter-label select { display:block; width:100%; margin-top:8px; }
.foundry-series-progress { display:flex; gap:12px; margin:24px 0 16px; }
.foundry-seal { flex:1; background:#111f2b; border:1px solid #2e4559; border-radius:3px; display:flex; align-items:center; gap:12px; padding:13px 15px; min-width:0; }
.foundry-seal > span { font-size:25px; color:#536e82; }
.foundry-seal > div { min-width:0; }
.foundry-seal strong { display:block; font-weight:500; color:#b2c6d3; font-size:12px; }
.foundry-seal small { display:block; font-size:10px; color:#7995a9; margin-top:5px; }
.foundry-seal b { margin-left:auto; font-size:12px; color:#a9bccc; white-space:nowrap; font-weight:400; }
.foundry-seal.earned { border-color:var(--series-accent); background:linear-gradient(110deg,#1d2f3c,#142532); }
.foundry-seal.earned > span,.foundry-seal.earned strong,.foundry-seal.earned b { color:var(--series-accent); }
.foundry-seal.seal-foil.earned > span { color:#b0ebf0; text-shadow:0 0 15px #8eebf077; }
.foundry-grid-note { color:#91abba; font-size:11px; margin:17px 0 22px; line-height:1.6; }
.foundry-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:26px 24px; }
.foundry-print-button { border:0; border-radius:8px; background:transparent; padding:0; cursor:pointer; text-align:left; color:inherit; min-width:0; perspective:900px; transition:filter .2s; }
.foundry-print-button:focus-visible { outline-offset:7px !important; }
.foundry-print-inventory { display:flex; justify-content:space-between; gap:8px; padding:12px 2px 0; color:#829dab; font-size:8px; letter-spacing:1px; line-height:1.5; }
.foundry-print-inventory strong { color:#acbfc9; font-weight:400; white-space:nowrap; }.is-discovered .foundry-print-inventory > span { color:#d6bd8e; }
.foundry-empty { text-align:center; padding:42px 20px; border:1px dashed #3c5469; background:#152330; }.foundry-empty > span { font-size:34px; color:#b9a47e; }.foundry-empty h3 { font-family:Georgia,serif; font-weight:400; font-size:25px; }.foundry-empty p { color:#9eb8c8; font-size:13px; }
.foundry-evolution { margin-top:55px; padding-top:36px; border-top:1px solid #405367; scroll-margin-top:28px; }
.foundry-cosmetic { letter-spacing:1.6px; font-size:9px; color:#88a5b8; white-space:nowrap; }
.foundry-evolution-steps { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; }
.foundry-evolution-step { background:linear-gradient(140deg,#1b2b39,#142331); border:1px solid #354d61; padding:20px 17px; display:flex; flex-direction:column; }
.foundry-step-rank { font-family:Georgia,serif; font-size:25px; color:#d4c093; line-height:1; }
.foundry-evolution-step h3 { font-size:14px; color:#dbe5eb; font-weight:500; margin:15px 0 8px; }
.foundry-evolution-step p { font-size:11px; line-height:1.65; color:#99b2c2; margin:0 0 16px; }.foundry-evolution-step > span:last-child { font-size:9px; letter-spacing:1px; color:#b29f7d; margin-top:auto; border-top:1px solid #385064; padding-top:12px; text-transform:uppercase; }
.foundry-evolution-step.is-foil { background:linear-gradient(135deg,#2d334249,#20404688,#2a273e77); border-color:#8db6ba; }.foundry-evolution-step.is-foil .foundry-step-rank { color:#baf0ee; text-shadow:0 0 16px #aadbd988; }
.foundry-recipe-note { color:#a0b8c8; font-size:12px; line-height:1.9; margin:19px 0 0; }
.foundry-log-section { margin-top:44px; padding-top:32px; border-top:1px solid #405367; }
.foundry-history { list-style:none; padding:0; margin:0; }.foundry-history li { padding:14px 2px; display:flex; align-items:center; gap:15px; border-top:1px solid #2b4255; }.foundry-log-icon { font-size:22px; color:#cbb78d; width:30px; text-align:center; }.foundry-log-icon.is-foil { color:#c0eeee; text-shadow:0 0 12px #c0eeee50; }.foundry-history li > div { display:flex; flex-direction:column; gap:6px; }.foundry-history strong { font-size:12px; font-weight:500; color:#d5e2ea; }.foundry-history li > div span { font-size:11px; color:#9db4c4; }.foundry-history p { margin-left:auto; font-size:10px; color:#89a5b8; text-align:right; }.foundry-history .foundry-log-empty { color:#8ea8ba; font-size:12px; }
.print-dialog,.foundry-reset-dialog { background:#112130; color:#e0e9ed; border:1px solid #8c9c9c; border-radius:8px; padding:0; box-shadow:0 35px 130px #000c; max-width:none; max-height:calc(100dvh - 34px); margin:auto; overscroll-behavior:contain; }
.print-dialog { width:min(980px,calc(100vw - 34px)); }
.print-dialog::backdrop,.foundry-reset-dialog::backdrop { background:#030a13d9; backdrop-filter:blur(7px); }
.print-dialog-top { display:flex; justify-content:space-between; gap:14px; align-items:center; padding:13px 19px; border-bottom:1px solid #40586c; position:sticky; top:0; background:#122231ed; z-index:15; }
.print-dialog-close { border:1px solid #4b677d; width:38px; height:38px; border-radius:3px; background:#1a3041; color:#d9e7ee; font-size:25px; cursor:pointer; }
.print-dialog-top .eyebrow { margin:0; font-size:9px; letter-spacing:1.7px; color:#a6bccb; }
.print-inspector-layout { display:grid; grid-template-columns:minmax(0,.87fr) minmax(0,1.1fr); gap:32px; padding:28px; }
.print-inspector-showcase { align-self:start; position:sticky; top:88px; padding:18px 15px; background:radial-gradient(ellipse at 50% 42%,#3e556350,transparent 71%); }
.print-card-large .print-top { top:22px; left:23px; right:23px; }.print-card-large .print-series { font-size:10px; }.print-card-large .print-edition { font-size:9px; padding:4px 6px; }.print-card-large .print-serial { top:70px; left:23px; right:23px; font-size:9px; }.print-card-large .print-bottom { left:25px; right:25px; bottom:24px; }.print-card-large .print-rarity { font-size:9px; }.print-card-large .print-bottom h3 { font-size:30px; margin:14px 0; }.print-card-large .print-bottom > p { font-size:12px; margin-bottom:19px; }.print-card-large .print-rank { font-size:11px; padding-top:14px; }.print-card-large .print-rank-symbol { width:29px; height:29px; font-size:13px; }.print-card-large .print-rank-bars i { width:4px; height:15px; }
.print-finish-toggle { display:flex; margin:22px auto 0; max-width:285px; border:1px solid #506777; border-radius:3px; overflow:hidden; }.print-finish-toggle button { flex:1; min-height:42px; background:#142837; color:#9db8ca; border:0; padding:9px 5px; font-size:11px; cursor:pointer; }.print-finish-toggle button + button { border-left:1px solid #506777; }.print-finish-toggle button[aria-pressed=true] { background:#314450; color:#e4d1aa; }.print-finish-toggle button[data-finish=foil][aria-pressed=true] { color:#c9edeb; background:linear-gradient(130deg,#384755,#3b3655,#315b5d); }
.print-preview-caption { color:#7f9bab; font-size:10px; line-height:1.5; text-align:center; margin:12px 0 0; }
.print-inspector-copy > .eyebrow { color:#c5b087; margin:5px 0 11px; }.print-inspector-copy h2 { font-family:Georgia,serif; font-size:33px; font-weight:400; color:#efe7dc; line-height:1.1; margin:0 0 14px; }.print-inspector-tagline { font-size:13px; line-height:1.75; color:#b3c7d4; }.print-inspector-meta { display:flex; flex-wrap:wrap; gap:16px; margin:18px 0; font-size:10px; color:#a1b9c9; }.print-witness { padding:12px 14px; background:#1a2c3c; border-left:2px solid #b49d74; color:#acbfcd; font-size:11px; line-height:1.75; margin:0 0 5px; }
.print-inventory-section { margin:21px 0 24px; border-top:1px solid #3a5267; padding-top:18px; }.print-inventory-section h3,.print-forge-section h3 { font-size:15px; font-weight:500; color:#d5e5ef; margin:0 0 15px; }
.print-inventory { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:5px; }.print-inventory > div { text-align:center; display:flex; flex-direction:column; align-items:center; border:1px solid #375166; background:#152a3a; padding:10px 3px 8px; }.print-inventory span { font-family:Georgia,serif; font-size:12px; color:#899ead; }.print-inventory strong { font-size:20px; font-weight:400; margin:4px 0 6px; color:#e0edf4; }.print-inventory small { color:#819bac; font-size:8px; white-space:nowrap; }.print-inventory > div.active { border-color:#ceb88c; }.print-inventory .is-foil { background:linear-gradient(120deg,#31424b,#332e47,#20454b); }.print-inventory .is-foil span { color:#c7e9ea; }
.print-forge-section { border:1px solid #456072; background:#162a3a; padding:18px 17px; border-radius:3px; }.print-forge-section > .eyebrow { font-size:7px; letter-spacing:1.1px; color:#889eaf; margin:0 0 9px; }.print-forge-section > label { display:flex; align-items:center; gap:14px; }.print-forge-section select { flex:1; }
.print-recipe { display:grid; grid-template-columns:1fr 22px 1fr; gap:10px; align-items:center; padding:20px 0 17px; }.print-recipe > div { display:flex; gap:9px; align-items:center; min-width:0; }.print-recipe strong { font-family:Georgia,serif; font-size:27px; color:#dfcda7; line-height:1; }.print-recipe > div > span { font-size:10px; color:#d4e0e7; line-height:1.5; }.print-recipe small { display:block; color:#7f9cad; font-size:8px; margin-top:4px; }.print-recipe .is-foil strong,.print-recipe .is-foil > span { color:#b4e6e5; }.print-recipe-arrow { text-align:center; color:#829fae; }
.print-forge-controls { display:flex; gap:8px; }.print-forge-controls .button { flex:1; padding-left:6px !important; padding-right:6px !important; font-size:10px !important; white-space:nowrap; }.print-forge-explanation { color:#9ab4c5; font-size:10px; line-height:1.8; margin:13px 0 0; }.print-forge-status { color:#e0cc9e; font-size:11px; line-height:1.7; margin:10px 0 0; }.print-forge-status:empty { display:none; }
.print-practice { margin-top:18px; border-top:1px dashed #3d566b; padding-top:16px; }.print-practice strong { color:#a9c0ce; font-size:11px; font-weight:500; }.print-practice p { font-size:10px; line-height:1.6; color:#7b98ab; margin:5px 0; }.print-practice .text-button { font-size:11px !important; }
.foil-awakened .print-card-large.is-foil { animation:foil-awaken .9s ease-out; }
.foundry-reset-dialog { width:min(470px,calc(100vw - 32px)); padding:29px; }.foundry-reset-dialog h2 { font-family:Georgia,serif; font-weight:400; font-size:28px; color:#ebdfc8; }.foundry-reset-dialog > p:not(.eyebrow) { color:#acbfcc; font-size:13px; line-height:1.75; }.foundry-reset-dialog > div { display:flex; justify-content:end; gap:12px; margin-top:26px; }
@keyframes foil-drift { 0% { background-position:0% 0%; } 100% { background-position:100% 75%; } }
@keyframes foil-awaken { 0% { filter:brightness(2);box-shadow:0 0 65px #b4f1ecbb; } 100% { filter:brightness(1); } }
@media (min-width:1500px) { .foundry-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }.print-bottom h3 { font-size:23px; } }
@media (max-width:1100px) { .foundry-hero { padding-left:28px; padding-right:28px; }.foundry-hero-copy { max-width:600px; }.foundry-showcase { flex-basis:310px; width:310px; }.foundry-showcase .print-card { width:185px; }.foundry-showcase .print-card:last-child { left:92px; top:24px; }.foundry-showcase .print-card:first-child { top:34px; }.foundry-showcase .print-bottom h3 { font-size:19px; }.foundry-showcase .print-bottom > p { font-size:9px; }.foundry-showcase .print-bottom { left:16px; right:16px; }.foundry-series-tab { grid-template-columns:32px 1fr; padding:13px 8px; gap:7px; }.foundry-series-tab img { width:32px; height:39px; }.foundry-series-tab-copy strong { font-size:10px; }.foundry-grid { gap:24px 18px; }.print-bottom { left:16px; right:16px; }.print-bottom h3 { font-size:20px; }.print-bottom > p { font-size:9px; margin-bottom:10px; }.print-rank { font-size:8px; gap:6px; }.print-rank-symbol { width:20px; height:20px; }.print-rank-bars { gap:2px; }.foundry-recovery { gap:24px; padding:23px; }.foundry-recovery-row { flex-direction:column; }.foundry-recovery-row select { width:100%; }.foundry-recovery-row .button { align-self:start; }.foundry-seal { padding:13px 10px; gap:8px; }.foundry-seal strong { font-size:10px; }.foundry-seal small { font-size:9px; } }
@media (max-width:800px) { .foundry-hero { min-height:400px; padding:42px 24px; }.foundry-hero-copy { max-width:540px; }.foundry-hero h1 { font-size:47px; }.foundry-showcase { flex-basis:220px; width:220px; height:270px; opacity:.9; }.foundry-showcase .print-card { width:160px; }.foundry-showcase .print-card:first-child { left:-30px; }.foundry-showcase .print-card:last-child { left:45px; }.foundry-showcase .print-bottom h3 { font-size:17px; }.foundry-showcase .print-bottom > p { display:none; }.foundry-showcase .print-series { font-size:6px; }.foundry-showcase .print-serial { font-size:6px; }.foundry-showcase .print-top { left:15px; right:15px; }.foundry-showcase .print-rarity { font-size:7px; letter-spacing:1px; }.foundry-showcase .print-rank-bars { display:none; }.foundry-introduction { align-items:start; }.foundry-totals { gap:16px; }.foundry-totals strong { font-size:27px; }.foundry-totals > span > span { font-size:9px; }.foundry-series { display:flex; overflow-x:auto; padding:3px 3px 13px; margin-left:-3px; margin-right:-3px; scroll-snap-type:x proximity; }.foundry-series-tab { min-width:160px; scroll-snap-align:start; grid-template-columns:36px 1fr; padding:13px 10px; }.foundry-series-tab img { width:36px; }.foundry-series-tab-copy strong { font-size:11px; }.foundry-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }.foundry-seal { flex-wrap:wrap; gap:6px; }.foundry-seal b { margin-left:0; padding-left:29px; width:100%; }.foundry-seal > span { font-size:21px; }.foundry-evolution-steps { grid-template-columns:repeat(3,minmax(0,1fr)); }.foundry-evolution-step { padding:17px 14px; }.foundry-inspector-layout { gap:22px; }.print-inspector-layout { gap:20px; padding:22px; }.print-inspector-showcase { padding:12px 0; }.print-card-large .print-bottom h3 { font-size:25px; }.print-card-large .print-bottom > p { font-size:10px; }.print-card-large .print-top { left:18px; right:18px; }.print-card-large .print-series { font-size:8px; }.print-card-large .print-edition { font-size:7px; }.print-card-large .print-serial { left:18px; right:18px; font-size:7px; }.print-card-large .print-bottom { left:19px; right:19px; }.print-card-large .print-rank { font-size:9px; }.print-card-large .print-rank-symbol { width:24px; height:24px; font-size:12px; }.print-inspector-copy h2 { font-size:29px; }.print-inventory { gap:3px; }.print-inventory small { font-size:7px; }.print-forge-section { padding:16px 12px; } }
@media (max-width:600px) { .foundry-hero { min-height:425px; padding:36px 20px; display:block; }.foundry-hero-copy { max-width:100%; }.foundry-hero h1 { font-size:39px; margin-top:21px; }.foundry-hero-copy > p:not(.eyebrow) { font-size:13px; max-width:84%; }.foundry-hero .eyebrow { max-width:76%; font-size:8px; letter-spacing:1.3px; line-height:1.8; }.foundry-hero-meta { max-width:76%; font-size:8px; gap:12px; margin-top:24px; line-height:1.8; }.foundry-hero-meta span + span::before { margin-right:12px; }.foundry-showcase { position:absolute; right:-66px; bottom:-61px; width:192px; height:285px; opacity:.38; pointer-events:none; }.foundry-showcase .print-card { width:158px; }.foundry-showcase .print-card:last-child { left:30px; top:0; }.foundry-showcase .print-card:first-child { left:-25px; top:3px; }.foundry-content { padding-top:29px; }.foundry-introduction { flex-direction:column; gap:23px; }.foundry-introduction h2,.foundry-section-heading h2,.foundry-series-detail h2 { font-size:27px; }.foundry-totals { width:100%; justify-content:space-between; gap:10px; }.foundry-totals > span { align-items:start; }.foundry-totals > span > span { font-size:10px; }.foundry-concept-note { font-size:11px; margin:23px 0; }.foundry-recovery { grid-template-columns:1fr; gap:20px; padding:21px 18px; }.foundry-recovery h3 { font-size:23px; }.foundry-recovery-copy > p:last-child { font-size:12px; }.foundry-recovery-controls > label { font-size:10px; }.foundry-recovery-row select { font-size:16px !important; }.foundry-recovery-row .button { width:100%; min-height:46px !important; }.foundry-recovery-controls > p { font-size:10px; }.foundry-status { font-size:12px; padding:16px 0; }.foundry-series-section { padding-top:29px; }.foundry-section-heading { align-items:start; flex-direction:column; gap:3px; margin-bottom:17px; }.foundry-section-heading h2 { margin-bottom:4px; }.foundry-series { margin-bottom:24px; }.foundry-series-tab { min-width:155px; }.foundry-series-detail { flex-direction:column; align-items:stretch; gap:17px; }.foundry-series-detail p:last-child { font-size:12px; }.foundry-filter-label { flex:auto; font-size:11px; }.foundry-filter-label select { font-size:16px !important; }.foundry-series-progress { flex-direction:column; gap:7px; margin-top:17px; }.foundry-seal { flex-wrap:nowrap; padding:11px 13px; gap:12px; }.foundry-seal strong { font-size:11px; }.foundry-seal small { font-size:9px; }.foundry-seal b { width:auto; margin-left:auto; padding-left:0; font-size:11px; }.foundry-seal > span { width:22px; flex-shrink:0; }.foundry-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:21px 13px; }.print-card { border-radius:7px; }.print-top { top:14px; left:13px; right:13px; }.print-series { font-size:6px; letter-spacing:1.1px; line-height:1.5; }.print-edition { font-size:5px; padding:2px 3px; }.print-serial { top:46px; left:13px; right:13px; font-size:6px; letter-spacing:1px; }.print-bottom { left:14px; right:14px; bottom:15px; }.print-rarity { font-size:6px; letter-spacing:1px; gap:4px; }.print-discovery { font-size:6px; padding:2px; }.print-bottom h3 { font-size:18px; margin:8px 0; }.print-bottom > p { display:none; }.print-rank { font-size:7px; gap:5px; padding-top:8px; }.print-rank-symbol { width:18px; height:18px; font-size:9px; }.print-rank-bars { gap:2px; }.print-rank-bars i { width:2px; height:8px; }.print-corner { width:14px; height:14px; top:9px; left:9px; }.corner-br { top:auto; left:auto; bottom:9px; right:9px; }.rank-3 .print-corner,.rank-4 .print-corner { width:19px; height:19px; }.foundry-print-inventory { font-size:6px; letter-spacing:.55px; gap:4px; padding-top:9px; }.foundry-grid-note { font-size:10px; }.foundry-evolution { margin-top:38px; padding-top:27px; }.foundry-evolution-steps { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }.foundry-evolution-step:last-child { grid-column:1 / -1; }.foundry-evolution-step h3 { font-size:13px; }.foundry-evolution-step p { font-size:10px; }.foundry-recipe-note { font-size:11px; }.foundry-log-section { margin-top:30px; padding-top:24px; }.foundry-history li { flex-wrap:wrap; gap:10px; }.foundry-history p { width:100%; margin:0 0 0 39px; text-align:left; font-size:9px; }.foundry-history strong { font-size:11px; }.foundry-history li > div span { font-size:10px; }.print-dialog { width:calc(100vw - 20px); max-height:calc(100dvh - 20px); }.print-dialog-top { padding:10px 12px; }.print-dialog-top .eyebrow { font-size:7px; letter-spacing:1px; line-height:1.7; }.print-inspector-layout { grid-template-columns:1fr; padding:20px 16px; gap:23px; }.print-inspector-showcase { position:static; max-width:300px; width:100%; justify-self:center; padding:0; }.print-card-large .print-bottom > p { display:block; }.print-card-large .print-bottom h3 { font-size:29px; }.print-card-large .print-top { top:20px; }.print-card-large .print-series { font-size:9px; }.print-card-large .print-edition { font-size:8px; }.print-card-large .print-serial { top:65px; font-size:8px; }.print-card-large .print-bottom { bottom:24px; }.print-card-large .print-rarity { font-size:9px; letter-spacing:1.6px; }.print-card-large .print-rank { font-size:10px; gap:8px; }.print-card-large .print-corner { width:25px; height:25px; }.print-card-large .print-rank-symbol { width:27px; height:27px; font-size:12px; }.print-card-large .print-discovery { font-size:8px; padding:3px; }.print-card-large .print-rank-bars i { width:3px; height:13px; }.print-finish-toggle { margin-top:17px; }.print-inspector-copy h2 { font-size:30px; }.print-inventory small { font-size:8px; }.print-forge-section { padding:17px 13px; }.print-forge-section > label { flex-direction:column; align-items:stretch; gap:7px; }.print-forge-section select { font-size:16px !important; width:100%; }.print-recipe { padding-top:20px; grid-template-columns:1fr 15px 1fr; gap:8px; }.print-recipe > div > span { font-size:10px; }.print-recipe small { font-size:8px; }.print-forge-controls .button { min-height:44px; font-size:10px !important; }.print-forge-explanation { font-size:10px; }.foundry-reset-dialog { padding:23px; }.foundry-reset-dialog > div { flex-direction:column; }.foundry-reset-dialog h2 { font-size:25px; } }
@media (max-width:350px) { .foundry-hero { min-height:414px; padding-left:16px; padding-right:16px; }.foundry-hero h1 { font-size:34px; }.foundry-hero-copy > p:not(.eyebrow) { max-width:91%; }.foundry-hero-meta { max-width:83%; }.foundry-totals strong { font-size:24px; }.foundry-grid { gap:18px 10px; }.print-bottom h3 { font-size:16px; }.print-rank { font-size:6px; gap:4px; }.print-rank-bars { display:none; }.print-top { left:12px; right:12px; }.print-series { font-size:5.5px; }.print-inspector-layout { padding:18px 12px; }.print-inventory small { font-size:7px; }.print-inspector-copy h2 { font-size:27px; } }

@media (max-width:600px) { .foundry-latest { flex-wrap:wrap; gap:11px; padding:14px; }.foundry-latest strong { font-size:17px; }.foundry-latest .text-button { margin:0 0 0 59px; font-size:11px !important; }.foundry-latest small { font-size:9px; }.foundry-latest > #foundry-last-card { min-height:36px; }.foundry-recovery-copy > #foundry-source-description { font-size:12px; } }
@media (prefers-reduced-motion:reduce) { #collectibles-root *,#collectibles-root *::before,#collectibles-root *::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }.print-card { transform:none !important; }.foundry-showcase .print-card:first-child { transform:rotate(-12deg) scale(.92) !important; }.foundry-showcase .print-card:last-child { transform:rotate(11deg) !important; } }


/* Shared, native collector frames. Portrait artwork remains exclusive to relic cards. */
.print-card {
  --frame-alloy:#ac8d62; --frame-shadow:#28231f; --frame-light:#e6cda2; --rank-accent:#b4ad9c;
  --card-cut:polygon(7% 0,93% 0,100% 4.7%,100% 95.3%,93% 100%,7% 100%,0 95.3%,0 4.7%);
  position:relative; isolation:isolate; width:100%; aspect-ratio:2/3; height:auto; padding:0; margin:0;
  border:0; border-radius:0; overflow:hidden; clip-path:var(--card-cut); container-type:inline-size;
  background:linear-gradient(135deg,var(--frame-light),var(--frame-shadow) 12%,var(--frame-alloy) 21%,#070e14 43%,var(--frame-alloy) 76%,var(--frame-light));
  box-shadow:none; color:#eff1ed; font-family:"Segoe UI",Arial,sans-serif; line-height:1.35;
}
.print-card.series-six-charters { --frame-alloy:#7c949b; --frame-shadow:#162329; --frame-light:#b9dfdd; --card-cut:polygon(12% 0,88% 0,100% 8%,100% 92%,88% 100%,12% 100%,0 92%,0 8%); }
.print-card.series-continuity-machines { --frame-alloy:#668992; --frame-shadow:#14232b; --frame-light:#c5eced; --card-cut:polygon(5% 0,95% 0,100% 3.3%,100% 96.7%,95% 100%,5% 100%,0 96.7%,0 3.3%); }
.print-card.series-capital-war { --frame-alloy:#ab6c53; --frame-shadow:#2c1919; --frame-light:#e3b891; --card-cut:polygon(12% 0,88% 0,88% 2.7%,96% 2.7%,100% 6%,100% 28%,98% 28%,98% 69%,100% 69%,100% 93%,91% 100%,9% 100%,0 93%,0 69%,2% 69%,2% 28%,0 28%,0 6%,4% 2.7%,12% 2.7%); }
.print-card.series-missing-fifteenth-day { --frame-alloy:#887da3; --frame-shadow:#251e31; --frame-light:#e2c984; }
.print-card.rank-2 { --rank-accent:#d4cbac; }
.print-card.rank-3 { --rank-accent:var(--series-accent); }
.print-card.rank-4 { --rank-accent:var(--frame-light); }
.print-card .print-shade,.print-card .print-top,.print-card .print-serial,.print-card .print-bottom,.print-card .print-corner,.print-card .print-etching,.print-card .print-hologram,.print-card .print-glint { position:absolute; }
.print-card .print-art { position:absolute; z-index:0; inset:7px; width:calc(100% - 14px); height:calc(100% - 14px); aspect-ratio:auto; border:0; border-radius:0; object-fit:cover; object-position:var(--art-position); clip-path:var(--card-cut); background:#101921; filter:none; }
.print-card .print-art::after { display:none; }
.print-card .print-metal { position:absolute; inset:3px; z-index:7; padding:0; border:1px solid #0e1517; border-radius:0; background:none; mask:none; clip-path:var(--card-cut); box-shadow:inset 0 0 0 2px #d9cda72a,inset 0 0 0 4px #070c12; }
.print-card .print-shade { z-index:1; inset:7px; background:linear-gradient(180deg,#040b12db 0%,#050c1180 11%,transparent 23%,transparent 50%,#06101955 62%,#071019ee 77%,#071019fa 100%); clip-path:var(--card-cut); }
.print-card .print-frame-geometry { position:absolute; inset:0; z-index:8; width:100%; height:100%; pointer-events:none; fill:none; overflow:visible; }
.print-card .frame-path { stroke:var(--rank-accent); stroke-width:.55; stroke-linejoin:bevel; opacity:.65; }
.print-card .frame-trace { stroke:var(--rank-accent); stroke-width:.5; stroke-linecap:square; opacity:.18; }
.print-card.rank-2 .frame-path { stroke-width:.75; }.print-card.rank-2 .frame-trace { opacity:.4; }
.print-card.rank-3 .frame-path { stroke-width:.9; opacity:.85; filter:drop-shadow(0 0 2px var(--series-accent)); }.print-card.rank-3 .frame-trace { opacity:.7; }
.print-card.rank-4 .frame-path { stroke-width:1.15; opacity:1; }.print-card.rank-4 .frame-trace { opacity:1; filter:drop-shadow(0 0 2px var(--series-accent)); }
.print-card .print-top { z-index:6; top:4.5%; left:8%; right:8%; display:flex; align-items:center; gap:2.7cqw; margin:0; padding:0; }
.print-card .print-family-symbol,.print-card .print-family-crest { width:10cqw; height:10cqw; min-width:10cqw; display:grid; place-items:center; color:var(--rank-accent); font-size:8.4cqw; object-fit:contain; filter:drop-shadow(0 2px 5px #000); }
.print-card .print-family-symbol { border:1px solid color-mix(in srgb,var(--rank-accent) 60%,transparent); clip-path:polygon(24% 0,76% 0,100% 24%,100% 76%,76% 100%,24% 100%,0 76%,0 24%); background:#0a1529aa; }
.print-card .print-top-copy { display:flex; flex-direction:column; gap:1.25cqw; min-width:0; flex:1; }
.print-card .print-series { font-family:Consolas,"Courier New",monospace; font-size:3.1cqw; line-height:1.3; color:#e4edf0; letter-spacing:.075em; max-width:none; font-weight:700; text-transform:uppercase; padding:0; display:block; }
.print-card .print-edition { font-family:Consolas,"Courier New",monospace; font-size:2.25cqw; line-height:1.2; color:var(--rank-accent); border:0; background:none; padding:0; letter-spacing:.055em; }
.print-card .print-top-rank { color:var(--rank-accent); font-family:Consolas,monospace; font-size:4.8cqw; letter-spacing:-.07em; padding-left:1cqw; }
.print-card .print-serial { z-index:5; top:14.4%; left:9%; right:9%; padding:0; margin:0; display:flex; gap:4px; justify-content:space-between; color:#c0d3dc; font-family:Consolas,monospace; font-size:2.35cqw; line-height:1; letter-spacing:.14em; }
.print-card .print-serial span { opacity:1; }
.print-card .print-bottom { z-index:5; left:8%; right:8%; top:auto; bottom:5%; padding:0; margin:0; }
.print-card .print-card-type { font-family:Consolas,"Courier New",monospace; font-size:2.7cqw; display:block; color:var(--series-accent); text-transform:uppercase; letter-spacing:.11em; line-height:1.3; margin-bottom:2cqw; }
.print-card .print-bottom h3 { color:#f1f2e9; font-family:"Segoe UI",Arial,sans-serif; font-size:8.2cqw; font-weight:750; letter-spacing:-.045em; line-height:1.08; min-height:2.3em; padding-bottom:.14em; margin:0 0 2.3cqw; text-wrap:balance; text-shadow:0 2px 12px #000; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.print-card .print-bottom > .print-card-flavor { font-family:Georgia,"Times New Roman",serif; font-size:3.15cqw; font-style:italic; font-weight:400; color:#b6c6c9; line-height:1.45; height:2.9em; margin:0 0 3.4cqw; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.print-card .print-card-meta { display:flex; align-items:center; justify-content:space-between; gap:3px; margin:0 0 2.6cqw; }
.print-card .print-rarity { display:flex; align-items:center; font-family:Consolas,monospace; text-transform:uppercase; font-size:2.7cqw; line-height:1.25; letter-spacing:.045em; gap:1.2cqw; }
.print-card .rarity-common { color:#c0ccd2; }.print-card .rarity-uncommon { color:#94d2b4; }.print-card .rarity-rare { color:#94c4ee; }.print-card .rarity-epic { color:#c7a1ed; }.print-card .rarity-legendary { color:#efca7d; }
.print-card .print-discovery { font-family:Consolas,monospace; font-size:2.35cqw; line-height:1.3; padding:1.25cqw 1.4cqw; border:1px solid #7f9b9e50; background:#051320a0; color:#bad0db; letter-spacing:.05em; border-radius:0; margin:0; white-space:nowrap; }
.print-card .print-rank { display:flex; align-items:center; gap:2cqw; border-top:1px solid color-mix(in srgb,var(--rank-accent) 45%,transparent); padding-top:2.6cqw; font-family:Consolas,monospace; font-size:3cqw; text-transform:uppercase; letter-spacing:.07em; line-height:1.15; color:var(--rank-accent); }
.print-card .print-rank-symbol { display:grid; place-items:center; width:7.6cqw; height:7.6cqw; border:1px solid var(--rank-accent); border-radius:0; clip-path:polygon(20% 0,80% 0,100% 20%,100% 80%,80% 100%,20% 100%,0 80%,0 20%); font-size:3.8cqw; letter-spacing:-.08em; font-family:Consolas,monospace; box-shadow:none; background:#10212baa; flex-shrink:0; }
.print-card .print-rank-bars { display:flex; gap:1.05cqw; margin-left:auto; }
.print-card .print-rank-bars i { width:1.1cqw; height:4.6cqw; background:#354858; transform:skewY(-24deg); }.print-card .print-rank-bars i.lit { background:var(--rank-accent); box-shadow:0 0 7px color-mix(in srgb,var(--rank-accent) 40%,transparent); }
.print-card .print-corner { width:9%; height:6%; border:0; opacity:.7; z-index:8; top:12%; left:3.5%; background:linear-gradient(var(--rank-accent),var(--rank-accent)) left top/1px 100% no-repeat,linear-gradient(var(--rank-accent),var(--rank-accent)) left top/100% 1px no-repeat; }
.print-card .corner-br { top:auto; left:auto; bottom:3.5%; right:3.5%; transform:rotate(180deg); }
.print-card.rank-1 .print-corner { opacity:.2; }.print-card.rank-2 .print-corner { opacity:.55; }.print-card.rank-3 .print-corner,.print-card.rank-4 .print-corner { opacity:1; width:12%; height:8%; }
.print-card .print-etching { inset:6px; z-index:2; border:0; border-radius:0; opacity:.15; background:repeating-linear-gradient(145deg,var(--series-accent) 0 1px,transparent 1px 14px); mask-image:linear-gradient(90deg,#000 0 3%,transparent 6% 94%,#000 97%); clip-path:var(--card-cut); }
.print-card.series-field-life .print-etching { background:repeating-linear-gradient(0deg,var(--frame-light) 0 1px,transparent 1px 12px); }
.print-card.series-six-charters .print-etching { background:repeating-linear-gradient(60deg,var(--series-accent) 0 1px,transparent 1px 19px),repeating-linear-gradient(120deg,var(--series-accent) 0 1px,transparent 1px 19px); }
.print-card.series-continuity-machines .print-etching { background:repeating-linear-gradient(0deg,#82d3e1 0 1px,transparent 1px 12px),repeating-linear-gradient(90deg,#82d3e1 0 1px,transparent 1px 12px); }
.print-card.series-capital-war .print-etching { background:repeating-linear-gradient(115deg,var(--frame-light) 0 2px,transparent 2px 22px); }
.print-card.series-missing-fifteenth-day .print-etching { background:repeating-linear-gradient(0deg,#e6cb83 0 1px,transparent 1px 7px),repeating-linear-gradient(90deg,#9d86bd 0 1px,transparent 1px 20px); }
.print-card.rank-3 .print-etching { opacity:.35; }.print-card.rank-4 .print-etching { opacity:.65; }
.print-card .print-hologram { z-index:3; inset:4px; border-radius:0; opacity:0; background:linear-gradient(120deg,var(--foil-spectrum)); background-size:230% 230%; mix-blend-mode:screen; mask-image:linear-gradient(90deg,#000 0 6%,transparent 12% 88%,#000 94%),linear-gradient(0deg,#000a 0 5%,#0003 27%,transparent 45% 80%,#0009 100%); clip-path:var(--card-cut); }
.print-card .print-glint { z-index:4; inset:7px; opacity:.08; background:radial-gradient(ellipse at var(--shine-x,45%) var(--shine-y,30%),#cdecec55,transparent 50%); mix-blend-mode:screen; clip-path:var(--card-cut); }
.print-card.is-foil { --rank-accent:#d0eee9; background:linear-gradient(125deg,#efd69a,#67bfc1 22%,#968ecb 45%,#ddbc88 68%,#a8ddbd 87%,#c9deee); border:0; box-shadow:none; }
.print-card.is-foil .print-hologram { opacity:.52; animation:foil-drift 12s ease-in-out infinite alternate; }.print-card.is-foil .print-glint { opacity:.15; }.print-card.is-foil .print-edition { border:0; background:none; color:#d1ede4; }.print-card.is-foil .frame-path { stroke:#d4e8de; filter:drop-shadow(0 0 2px #93dacd); }.print-card.is-foil .print-rank-symbol { color:#f0e3b4; box-shadow:none; background:linear-gradient(120deg,#386f7670,#6d557270,#67593270); }
.print-card.series-field-life .print-bottom { border-left:1px solid #c9a77355; padding-left:2.7cqw; }
.print-card.series-six-charters .print-bottom { padding-top:3.5cqw; border-top:1px solid color-mix(in srgb,var(--series-accent) 60%,transparent); }
.print-card.series-capital-war .print-card-type { border-left:3px solid #ce966b; padding-left:2cqw; }
.print-card.series-missing-fifteenth-day .print-card-type { border-bottom:1px dotted #d5b47670; padding-bottom:1.5cqw; }
.print-source-link { padding:14px 0 13px; border-top:1px solid #476276; margin:18px 0 12px; }.print-source-link > span { display:block; color:#819dac; font-size:8px; margin-bottom:6px; }.print-source-link strong { display:block; font-size:16px; font-weight:500; color:#dac698; }.print-source-link p { margin:7px 0 0; color:#8faabb; font-size:10px; }
#collectibles-root .print-dialog-close,#collectibles-root .text-button { min-height:44px; }.print-dialog-close { width:44px; height:44px; }
.foundry-print-button:hover .print-card { filter:brightness(1.08); border:0; box-shadow:none; }
@media(max-width:850px) { .foundry-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; } }
@media(max-width:500px) { .foundry-grid { grid-template-columns:1fr; max-width:340px; margin-inline:auto; gap:30px; }.foundry-print-inventory { font-size:9px; padding-top:12px; }.foundry-grid-note { font-size:11px; }.print-inspector-showcase { max-width:320px; }.print-inspector-copy h2 { line-height:1.12; } }
@media(prefers-reduced-motion:reduce) { .print-card,.print-card * { animation:none!important; transition:none!important; } }

/* Foundry motion stays local to the workshop and its retained-result inspector. */
.foundry-showcase::before { content:''; position:absolute; width:320px; height:320px; left:28px; top:4px; border:1px solid #90b2bb1a; border-radius:50%; background:radial-gradient(ellipse,#7d99b51c,transparent 68%); box-shadow:0 0 0 28px #94baca06,0 0 0 62px #d9b67604; pointer-events:none; }
.foundry-hero-grid { pointer-events:none; animation:foundry-grid-drift 24s linear infinite; }
.foundry-showcase .print-card:first-child { animation:foundry-witness-float-left 7s ease-in-out infinite; }
.foundry-showcase .print-card:last-child { animation:foundry-witness-float-right 8.5s -2s ease-in-out infinite; }
.foundry-showcase .is-foil .print-glint { opacity:.28; background:linear-gradient(115deg,transparent 30%,#f2eac044 45%,#bdebe960 50%,#baa5e540 55%,transparent 70%); background-size:280% 100%; animation:foundry-foil-sweep 7.5s -1s ease-in-out infinite; }
.foundry-motion-paused,.foundry-motion-paused *,.foundry-motion-paused::before,.foundry-motion-paused::after,.foundry-motion-paused *::before,.foundry-motion-paused *::after { animation-play-state:paused!important; }
.foundry-arrival { animation:foundry-card-arrival .55s var(--arrival-delay,0ms) cubic-bezier(.2,.8,.2,1) both; }
.foundry-arrival:focus-within { animation:none; }
.foundry-recovered { animation:foundry-recovery-light 1s ease-out; }
.foundry-stats-updated strong { animation:foundry-stat-light 1s ease-out; }
.print-inspector-showcase { isolation:isolate; --refinement-radius:130px; }
.print-refinement-orbit { position:absolute; inset:18px 15px auto; aspect-ratio:2/3; z-index:6; pointer-events:none; overflow:clip; --refinement-accent:var(--series-accent,#e2c88c); }
.print-refinement-echo { position:absolute; inset:0; opacity:0; transform-origin:center; }
.print-refinement-echo .print-card { width:100%; height:auto; pointer-events:none; }
.foundry-refining .print-refinement-echo { animation:foundry-pair-converge .48s cubic-bezier(.25,.8,.35,1) both; }
.print-refinement-echo.echo-left { --echo-direction:-1; --echo-turn:-9deg; }
.print-refinement-echo.echo-right { --echo-direction:1; --echo-turn:9deg; }
.foundry-refining #print-preview { opacity:0; }
.foundry-refined #print-preview { animation:foundry-print-materialize .92s cubic-bezier(.18,.85,.25,1) both; }
.print-refinement-ring { position:absolute; width:80%; aspect-ratio:1; left:50%; top:50%; border:1px solid var(--refinement-accent); border-radius:18%; opacity:0; box-shadow:0 0 25px color-mix(in srgb,var(--refinement-accent) 18%,transparent); }
.foundry-refined .print-refinement-ring { animation:foundry-witness-ring .85s ease-out both; }
.print-refinement-spark { position:absolute; width:2px; height:9px; top:50%; left:50%; background:var(--refinement-accent); box-shadow:0 0 9px var(--refinement-accent); opacity:0; }
.foundry-refined .print-refinement-spark { animation:foundry-witness-spark .65s var(--spark-delay,0ms) ease-out both; }
.foundry-refined #print-preview .frame-path { stroke-dasharray:360; animation:foundry-frame-attest .9s ease-out both; }
.foundry-foil-awakened .print-refinement-orbit { --refinement-accent:#b8f0df; }
.foundry-foil-awakened #print-preview .print-glint { opacity:.6; background:linear-gradient(115deg,transparent 22%,#f0dda55e 40%,#b9f6e29c 50%,#b5a5ef5e 60%,transparent 78%); background-size:280% 100%; animation:foundry-foil-awaken-sweep .92s ease-out both; }
@keyframes foundry-grid-drift { to { background-position:56px 0,0 56px; } }
@keyframes foundry-witness-float-left { 0%,100% { transform:translate3d(0,0,0) rotate(-12deg) scale(.92) rotateY(-4deg); } 50% { transform:translate3d(-3px,-9px,0) rotate(-10deg) scale(.92) rotateY(3deg); } }
@keyframes foundry-witness-float-right { 0%,100% { transform:translate3d(0,0,0) rotate(11deg) rotateY(3deg); } 50% { transform:translate3d(3px,-11px,0) rotate(9deg) rotateY(-4deg); } }
@keyframes foundry-foil-sweep { 0%,22% { background-position:100% 50%; opacity:.1; } 52% { opacity:.32; } 82%,100% { background-position:0% 50%; opacity:.1; } }
@keyframes foundry-card-arrival { from { opacity:0; transform:translate3d(0,16px,0); } to { opacity:1; transform:translate3d(0,0,0); } }
@keyframes foundry-recovery-light { 0% { box-shadow:inset 3px 0 #b8eece,0 0 25px #88d6ba30; } 100% { box-shadow:inset 3px 0 #d6b782,0 0 0 #88d6ba00; } }
@keyframes foundry-stat-light { 0% { color:#e0fff2; text-shadow:0 0 16px #a8e5d970; transform:translateY(-3px); } 100% { text-shadow:0 0 0 transparent; transform:none; } }
@keyframes foundry-pair-converge { 0% { opacity:0; transform:translate3d(calc(var(--echo-direction) * 14%),0,0) rotate(var(--echo-turn)) scale(.74); } 20% { opacity:.72; } 75% { opacity:.9; } 100% { opacity:0; transform:translate3d(0,0,0) rotate(0deg) scale(.98); } }
@keyframes foundry-print-materialize { 0% { opacity:0; transform:translate3d(0,7px,0) scale(.88); filter:brightness(1.5); } 40% { opacity:1; transform:translate3d(0,0,0) scale(1.018); filter:brightness(1.13); } 100% { opacity:1; transform:none; filter:none; } }
@keyframes foundry-witness-ring { 0% { opacity:.8; transform:translate(-50%,-50%) rotate(45deg) scale(.45); } 100% { opacity:0; transform:translate(-50%,-50%) rotate(74deg) scale(1.45); } }
@keyframes foundry-witness-spark { 0% { opacity:0; transform:rotate(var(--spark-angle)) translateY(0) scale(.3); } 20% { opacity:.85; } 100% { opacity:0; transform:rotate(var(--spark-angle)) translateY(calc(-1 * var(--refinement-radius))) scale(.3); } }
@keyframes foundry-frame-attest { from { stroke-dashoffset:360; } to { stroke-dashoffset:0; } }
@keyframes foundry-foil-awaken-sweep { from { background-position:100% 50%; } to { background-position:0% 50%; } }
@media(max-width:1100px) { .foundry-showcase::before { width:265px; height:265px; left:10px; top:16px; } }
@media(max-width:800px) { .foundry-hero { gap:54px; }.print-refinement-orbit { inset:12px 0 auto; }.foundry-showcase::before { width:230px; height:230px; left:-8px; top:14px; } }
@media(max-width:600px) { .foundry-hero { min-height:0; padding-bottom:28px; }.foundry-hero-copy > p:not(.eyebrow),.foundry-hero .eyebrow,.foundry-hero-meta { max-width:100%; }.foundry-showcase { position:relative; right:auto; bottom:auto; width:252px; height:245px; opacity:1; margin:28px auto 4px; }.foundry-showcase .print-card:first-child { left:0; top:4px; }.foundry-showcase .print-card:last-child { left:90px; top:0; }.print-refinement-orbit { inset:0 0 auto; }.print-inspector-showcase { --refinement-radius:96px; }.foundry-showcase::before { width:220px; height:220px; left:16px; top:14px; } }
@media(prefers-reduced-motion:reduce) { .foundry-hero-grid,.foundry-showcase::before,.foundry-arrival,.foundry-recovered,.foundry-stats-updated strong,.print-refinement-orbit,.print-refinement-orbit *,.foundry-refined #print-preview { animation:none!important; transition:none!important; }.print-refinement-orbit { display:none!important; }.foundry-refining #print-preview { opacity:1; } }
