/* Restrained graphite / lime foil. Artwork is mapped to the site's own palette. */
.fm9-grid{gap:20px;align-items:start}.fm9-card.tcg-card{--tcg-x:50%;--tcg-y:40%;position:relative;padding:9px 9px 0;border:1px solid #696f58;border-radius:11px;overflow:visible;isolation:isolate;background:linear-gradient(145deg,#34382d 0%,#191b20 18%,#17191e 65%,#30362a 100%);box-shadow:0 8px 22px #0004,inset 0 0 0 2px #131419;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease;transform-style:preserve-3d}.tcg-card::before{content:"";position:absolute;inset:3px;border:1px solid #828f5d3b;border-radius:7px;pointer-events:none;z-index:5}.tcg-card::after{content:"";position:absolute;inset:0;border-radius:10px;pointer-events:none;z-index:6;background:linear-gradient(120deg,transparent 10%,#d6ff7f0b 34%,#f1f1f725 43%,transparent 51%,#d6ff7f0b 70%,transparent 86%);background-size:250% 250%;background-position:var(--tcg-x) var(--tcg-y);mix-blend-mode:screen;opacity:.6;transition:opacity .3s}.tcg-edition{display:flex;align-items:center;justify-content:space-between;padding:9px 6px 13px;gap:8px;font:9px monospace;letter-spacing:.07em;color:#b9bea9}.tcg-preview{display:flex;align-items:center;gap:5px;font-size:8px;color:#8e9588}.tcg-preview i{display:inline-block;width:4px;height:4px;background:#d6ff7f;border-radius:50%}.tcg-art{position:relative;aspect-ratio:1 / 1;overflow:hidden;border-radius:3px;border:1px solid #626952;background:#15181a;isolation:isolate}.tcg-art img{display:block;position:relative;width:100%;height:100%;max-width:none;object-fit:cover;image-rendering:pixelated;filter:url('/assets/foundry-palette10.svg#foundryLime');transition:transform .5s ease}.tcg-art::before{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:repeating-linear-gradient(0deg,#0000 0px,#0000 3px,#00000016 3px,#00000016 4px);opacity:.35}.tcg-art::after{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;box-shadow:inset 0 0 25px #05060999;background:linear-gradient(0deg,#0c1013bb,transparent 23%,transparent 85%,#13141933)}.tcg-foil{position:absolute;inset:0;z-index:4;pointer-events:none;background:radial-gradient(ellipse at var(--tcg-x) var(--tcg-y),#d6ff7f14,transparent 65%),linear-gradient(115deg,transparent 28%,#d6ff7f08 36%,#f1f1f722 42%,#d6ff7f11 48%,transparent 58%);background-size:100% 100%,250% 250%;background-position:center,var(--tcg-x) var(--tcg-y);mix-blend-mode:screen;opacity:.7;transition:opacity .3s}.tcg-art-label{position:absolute;left:12px;bottom:10px;font:8px monospace;letter-spacing:.13em;color:#dce9c5;z-index:5}.tcg-art-corner{position:absolute;right:12px;bottom:7px;z-index:5;font-size:24px;color:#d6ff7f9c}.tcg-body{padding:20px 12px 0}.tcg-body .fm9-category{font-size:8px;letter-spacing:.1em;color:#929c82;margin-bottom:7px}.tcg-name{display:flex;align-items:center;justify-content:space-between;gap:12px}.tcg-body .tcg-name h3{font-size:34px;letter-spacing:-.035em;font-weight:400;color:#f1f1f7;margin:0}.tcg-name>span{color:#d6ff7f;font-size:22px;opacity:.75}.tcg-body .fm9-tagline{font-size:12px;line-height:1.6;color:#a4a9a3;margin:12px 0 16px;max-width:none;min-height:38px}.tcg-rule{display:flex;gap:3px;align-items:center;margin-bottom:15px}.tcg-rule span:first-child{height:2px;width:22px;background:#d6ff7fb0}.tcg-rule span:nth-child(2){height:2px;width:7px;background:#d6ff7f5c}.tcg-rule span:last-child{height:1px;flex:1;background:#454c3e}.tcg-body .fm9-card-bottom{padding:0 0 18px;border-top:0}.tcg-body .fm9-card-bottom strong{font-size:18px;font-weight:400;letter-spacing:-.03em}.tcg-body .fm9-card-bottom p span{font-size:8px;color:#8c9487}.tcg-body .fm9-card-bottom a{color:#d6ff7f;font-size:10px;border:1px solid #69764e;border-radius:4px;padding:9px 10px;background:#d6ff7f06;transition:background .2s}.tcg-body .fm9-card-bottom a:hover{background:#d6ff7f17}.foundry-agent-portrait{width:110px;height:110px;object-fit:cover;float:right;margin:6px 0 16px 18px;image-rendering:pixelated;filter:url('/assets/foundry-palette10.svg#foundryLime');border:1px solid #727c58;border-radius:6px}.foundry-dialog .foundry-eyebrow{clear:none}@media(hover:hover) and (pointer:fine){.fm9-card.tcg-card:hover{transform:perspective(1000px) rotateX(var(--tcg-rx,0deg)) rotateY(var(--tcg-ry,0deg)) translateY(-5px);border-color:#b9cd84;box-shadow:0 18px 35px #0008,0 0 18px #d6ff7f09,inset 0 0 0 2px #131419}.tcg-card:hover::after{opacity:1}.tcg-card:hover .tcg-foil{opacity:1}.tcg-card:hover .tcg-art img{transform:scale(1.025)}}@media(min-width:1600px){.tcg-edition{font-size:10px;padding:12px 9px 16px}.tcg-preview{font-size:9px}.tcg-body{padding:23px 16px 0}.tcg-body .tcg-name h3{font-size:40px}.tcg-body .fm9-tagline{font-size:14px;min-height:45px}.tcg-body .fm9-card-bottom a{font-size:12px;padding:11px 15px}.tcg-body .fm9-card-bottom strong{font-size:21px}.tcg-body .fm9-card-bottom p span{font-size:10px}}@media(max-width:600px){.fm9-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding-left:12px;padding-right:12px}.fm9-card.tcg-card{padding:5px 5px 0;border-radius:7px}.tcg-card::before{inset:2px;border-radius:5px}.tcg-card::after{border-radius:6px}.tcg-edition{font-size:6px;letter-spacing:.025em;padding:7px 3px 9px;gap:3px}.tcg-preview{font-size:5px;gap:3px}.tcg-preview i{width:3px;height:3px}.tcg-art{border-radius:2px}.tcg-art-label{font-size:5px;letter-spacing:.03em;left:6px;bottom:6px}.tcg-art-corner{font-size:15px;right:6px;bottom:2px}.tcg-body{padding:12px 5px 0}.tcg-body .fm9-category{font-size:5px;letter-spacing:.04em;margin-bottom:6px;min-height:7px}.tcg-body .tcg-name h3{font-size:23px}.tcg-name{gap:4px}.tcg-name>span{font-size:15px}.tcg-body .fm9-tagline{font-size:10px;line-height:1.4;margin:8px 0 10px;min-height:42px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.tcg-rule{margin-bottom:10px}.tcg-body .fm9-card-bottom{display:block;padding:0 0 10px}.tcg-body .fm9-card-bottom p{font-size:10px;margin-bottom:9px}.tcg-body .fm9-card-bottom strong{font-size:17px}.tcg-body .fm9-card-bottom p span{font-size:7px}.tcg-body .fm9-card-bottom a{font-size:9px;padding:8px 4px;text-align:center;display:block}.tcg-body .fm9-card-bottom a span{margin-left:4px}.foundry-agent-portrait{width:85px;height:85px;margin-left:10px}}@media(max-width:350px){.fm9-grid{grid-template-columns:1fr}.tcg-body .fm9-category{font-size:9px}.tcg-edition{font-size:9px}.tcg-preview{font-size:8px}.tcg-body .tcg-name h3{font-size:34px}.tcg-body .fm9-tagline{font-size:12px;min-height:0}.tcg-body .fm9-card-bottom{display:flex}.tcg-body .fm9-card-bottom a{padding:10px;font-size:11px}}@media(prefers-reduced-motion:reduce){.fm9-card.tcg-card,.tcg-art img{transition:none!important;animation:none!important;transform:none!important}}
