/* Card internals stay separate from interaction owned by their parent. */
.card-face{--cf-accent:#686354;--cf-ink:#20272a;box-sizing:border-box;container-type:inline-size;width:320px;max-width:100%;aspect-ratio:63/88;display:grid;grid-template-rows:12% 46% 8% 23% 11%;position:relative;overflow:hidden;padding:9px;color:var(--cf-ink);font-family:Arial,Helvetica,sans-serif;text-align:left;line-height:1.3;box-shadow:0 9px 25px #1d272a26;background:#fffdf5;border:2px solid #232a2d;isolation:isolate}
.card-face *{box-sizing:border-box}.card-face h3,.card-face p{margin:0}.card-face .cf-icon{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linejoin:round;stroke-linecap:round}.cf-header{display:flex;align-items:center;gap:8px;min-width:0;z-index:2}.cf-cost{width:38px;height:40px;flex:none;display:grid;place-items:center;position:relative;color:var(--cf-accent)}.cf-cost .cf-icon{position:absolute;inset:0;width:100%;height:100%;stroke-width:1.4;fill:#fffdf5}.cf-cost b{z-index:1;font-size:22px;line-height:1}.cf-name{font-size:19px;font-size:6.1cqw;line-height:1.05;font-weight:900;letter-spacing:-.04em;overflow-wrap:anywhere;min-width:0}.cf-art{min-height:0;overflow:hidden;position:relative;background:#cfd4c9}.cf-image{height:100%;width:100%;display:block;object-fit:cover;max-width:none}.cf-type{display:flex;align-items:center;justify-content:space-between;gap:5px;min-width:0;padding:0 8px;font-size:11px;font-size:3.5cqw;font-weight:700;background:#fffdf5;border-bottom:1px solid #b9bdb5}.cf-kind,.cf-strategy,.cf-resolution{display:flex;align-items:center;gap:5px}.cf-strategy{color:var(--cf-accent)}.cf-rules{display:block;padding:13px 11px 8px;background:#fffdf5;font-size:14px;font-size:4.5cqw;line-height:1.42;overflow-wrap:anywhere}.cf-rules strong{font-weight:800}.cf-footer{display:flex;align-items:center;justify-content:space-between;position:relative;padding:0 8px 8px;gap:8px;background:#fffdf5;flex-wrap:wrap}.cf-stat{display:flex;align-items:center;gap:5px;line-height:1}.cf-stat b{font-size:23px;font-size:7.5cqw}.cf-stat-label{font-size:9px;font-size:3cqw;font-weight:700}.cf-stat .cf-icon{width:19px;height:19px}.cf-health{color:#963f39}.cf-collector{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:8px;font-size:2.7cqw;line-height:1;letter-spacing:.13em;font-weight:700;color:#73776e}.cf-resolution{font-size:12px;font-size:3.9cqw;font-weight:700;width:100%;justify-content:center}.cf-missing{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;background:repeating-linear-gradient(135deg,#d9dfd5,#d9dfd5 18px,#e7ebe4 18px,#e7ebe4 36px)}.cf-fallback{font-size:12px;font-weight:700;background:#fffdf5e6;padding:6px 10px}.cf-fallback-name{font-size:14px;margin-top:9px;background:#fffdf5e6;padding:4px 8px}.cf-crest{padding:11px;border:4px solid #474b46;border-radius:21px 21px 12px 12px;background:#bdc1ad;box-shadow:inset 0 0 0 3px #ebecd5,0 9px 25px #1d272a26;grid-template-rows:12% 46% 8% 23% 11%}.cf-crest .cf-header{background:#eee9d5;border-radius:12px 12px 0 0;border:1px solid #787d70;padding:0 5px}.cf-crest .cf-name{font-family:Georgia,'Times New Roman',serif;font-weight:700;letter-spacing:-.055em;font-size:6cqw}.cf-crest .cf-art{border:2px solid #727b6c;border-radius:20px 20px 0 0;border-bottom:0}.cf-crest .cf-type{background:#e2e6d4;border-top:2px solid var(--cf-accent);border-bottom:1px solid #b0b7a7}.cf-crest .cf-rules,.cf-crest .cf-footer{background:#f7f5e6}.cf-crest .cf-footer{border-radius:0 0 6px 6px}.cf-crest .cf-stat{padding:3px 7px;background:#e8ebda;border:1px solid #adb5a0;border-radius:5px}.cf-crest .cf-stat-label{display:inline}.cf-folio{padding:12px;border:1px solid #8b7b5d;border-radius:3px;background:#ebe1c8;box-shadow:inset 0 0 0 4px #fbf5e6,inset 0 0 0 5px #bcb09b,0 9px 25px #1d272a26}.cf-folio .cf-header{border-bottom:1px solid #8c8068;gap:7px}.cf-folio .cf-name{font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:6.3cqw;letter-spacing:-.045em}.cf-folio .cf-cost .cf-icon{fill:#f8f0de;stroke:#806a40}.cf-folio .cf-art{margin-top:6px;border:1px solid #91836c;border-bottom:0}.cf-folio .cf-type{background:#eae0c8;border:1px solid #91836c;font-family:Georgia,'Times New Roman',serif;font-weight:400}.cf-folio .cf-rules{background:#fbf4e4;font-family:Georgia,'Times New Roman',serif;font-size:4.7cqw;line-height:1.4;padding-top:12px}.cf-folio .cf-footer{background:#fbf4e4;border-top:1px solid #c8bca6}.cf-folio .cf-collector{color:#847254}.cf-impact{padding:8px;border:3px solid #242d34;border-radius:2px;background:#242d34;grid-template-rows:12% 46% 8% 23% 11%}.cf-impact .cf-header{background:#fffdf5;padding:0 4px 0 0;border-bottom:4px solid #242d34}.cf-impact .cf-name{font-family:Impact,'Arial Narrow',Arial,sans-serif;text-transform:uppercase;letter-spacing:.005em;font-weight:400;font-size:6.4cqw}.cf-impact .cf-cost{background:var(--cf-accent);color:#fff;clip-path:polygon(0 0,100% 0,100% 75%,75% 100%,0 100%);width:40px;height:100%;align-self:stretch}.cf-impact .cf-cost .cf-icon{display:none}.cf-impact .cf-art{border-left:3px solid var(--cf-accent);border-right:3px solid var(--cf-accent)}.cf-impact .cf-type{background:var(--cf-accent);color:white;border-top:3px solid #242d34;border-bottom:0}.cf-impact .cf-strategy{color:white}.cf-impact .cf-rules{border-bottom:3px solid #242d34;padding-top:11px}.cf-impact .cf-footer{padding-top:4px}.cf-impact .cf-stat b{background:#242d34;color:white;min-width:29px;padding:3px 5px;text-align:center}.cf-impact .cf-health b{background:#963f39}.cf-tactic .cf-kind{font-style:italic}.cf-tactic .cf-type{border-bottom-style:dashed}.cf-compact{width:186px;padding:6px}.cf-compact .cf-header{gap:4px}.cf-compact .cf-name{font-size:12px;font-size:6.5cqw}.cf-compact .cf-cost{width:26px;height:29px}.cf-compact .cf-cost b{font-size:17px}.cf-compact .cf-type{font-size:8px;padding:0 4px}.cf-compact .cf-type .cf-icon{width:11px;height:11px}.cf-compact .cf-rules{font-size:11px;line-height:1.3;padding:7px 7px 3px}.cf-compact .cf-footer{padding:0 3px;gap:3px}.cf-compact .cf-stat b{font-size:18px}.cf-compact .cf-stat .cf-icon{width:14px;height:14px}.cf-compact .cf-stat-label{font-size:8px}.cf-compact .cf-collector{display:none}.cf-compact .cf-resolution{font-size:9px}.cf-compact.cf-impact .cf-cost{width:27px;height:100%}.cf-compact.cf-impact .cf-stat b{min-width:23px;padding:2px 4px}.cf-compact.cf-crest .cf-stat{padding:3px}.cf-board{width:140px;grid-template-rows:18% 53% 11% 0% 18%;padding:4px}.cf-board .cf-rules,.cf-board .cf-collector{visibility:hidden;padding:0;height:0;overflow:hidden}.cf-board .cf-cost{width:25px;height:27px}.cf-board .cf-cost b{font-size:16px}.cf-board .cf-name{font-size:11px;letter-spacing:-.02em}.cf-board .cf-header{gap:3px}.cf-board .cf-type{font-size:7px;padding:0 3px}.cf-board .cf-type .cf-icon{width:10px;height:10px}.cf-board .cf-stat b{font-size:18px}.cf-board .cf-stat-label{display:none}.cf-board .cf-stat .cf-icon{width:12px;height:12px}.cf-board .cf-footer{padding:1px 3px}.cf-board .cf-resolution{font-size:8px}.cf-board.cf-impact .cf-cost{height:100%}.cf-board.cf-impact .cf-stat b{min-width:22px}.cf-board.cf-crest .cf-art{border-radius:10px 10px 0 0}.cf-board.cf-crest .cf-stat{padding:2px 3px}.card-back{width:180px;max-width:100%;aspect-ratio:63/88;display:grid;place-items:center;border:4px solid #242d34;border-radius:5px;background:#e9e2cd;box-shadow:inset 0 0 0 8px #e9e2cd,inset 0 0 0 10px #60645c}.card-back svg{width:58%;height:auto;fill:none;stroke:#4c635c;stroke-width:3}.card-back.cf-crest{border-radius:18px;background:#d6dac5;box-shadow:inset 0 0 0 10px #d6dac5,inset 0 0 0 12px #7e8873}.card-back.cf-folio{background:#efe5ce;border-color:#8b7b5d;box-shadow:inset 0 0 0 8px #efe5ce,inset 0 0 0 10px #b5a78d}.card-back.cf-folio svg{stroke:#8b7b5d;stroke-width:1.8}.card-back.cf-impact{background:#243238;border-color:#1b2227;box-shadow:inset 0 0 0 8px #243238,inset 0 0 0 12px #e16a3c;border-radius:2px}.card-back.cf-impact svg{stroke:#f2e8cd;stroke-width:5}
@container (max-width:100px){.cf-board .cf-header{padding:1px 2px;justify-content:center}.cf-board .cf-cost,.cf-board .cf-type{display:none}.cf-board .cf-name{font-family:Arial,Helvetica,sans-serif;font-weight:800;font-size:10px;line-height:1.05;letter-spacing:-.035em;text-transform:none;text-align:center}.cf-board .cf-footer{padding:0 1px;gap:1px;justify-content:space-evenly}.cf-board .cf-stat{gap:1px;padding:0;border:0;background:none}.cf-board .cf-stat b{font-size:14px;min-width:0;padding:0;background:none;color:inherit}.cf-board .cf-stat .cf-icon{width:10px;height:10px}.cf-board .cf-health{color:#963f39}.cf-board .cf-art{border-left-width:1px;border-right-width:1px;border-radius:4px 4px 0 0}.cf-board .cf-resolution{font-size:8px;gap:1px}.cf-board .cf-resolution .cf-icon{width:10px;height:10px}}
.card-back{grid-template-rows:none;padding:0}.cf-impact .cf-name{font-family:Impact,'Arial Narrow','DejaVu Sans Condensed',Arial,sans-serif}
.card-face>.cf-header{grid-row:1}.card-face>.cf-art{grid-row:2}.card-face>.cf-type{grid-row:3}.card-face>.cf-rules{grid-row:4}.card-face>.cf-footer{grid-row:5}
@container (max-width:100px){.cf-board .cf-fallback,.cf-board .cf-fallback-name{display:none}.cf-board .cf-header{align-items:start}.cf-board .cf-name{background:#fffdf5;z-index:3;padding:1px}}
@font-face{font-family:'Cards Condensed';src:url('assets/fonts/DejaVuSansCondensed-Bold.ttf') format('truetype');font-style:normal;font-weight:700;font-display:swap}
.cf-impact .cf-name{font-family:'Cards Condensed',sans-serif;font-weight:700;letter-spacing:-.035em;font-size:5.8cqw}
.cf-stat-buffed{color:#326d47}.cf-stat-damaged{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
@container (max-width:100px){.cf-board.cf-crest .cf-stat{padding:0;border:0;gap:1px;background:none}.cf-board.cf-impact .cf-stat b{min-width:0;padding:0;font-size:14px;background:none;color:inherit}.cf-board .cf-footer{flex-wrap:nowrap}.cf-board.cf-impact .cf-name{font-family:Arial,Helvetica,sans-serif;font-size:10px}}
/* SECOND CONSTRUCTION STUDY: three distinct objects, not border reskins. */
.cf-ornament{position:absolute;inset:0;pointer-events:none;z-index:5;display:block}.cf-ornament svg{display:block;width:100%;height:100%;fill:none}.cf-metal-line{stroke:#e9c676;stroke-width:.8}.cf-etch{stroke:#513a26;stroke-width:.6}.cf-rivets{fill:#ddbb73;stroke:#503b27;stroke-width:.8}.cf-vista-rail{stroke:#d9b76d;stroke-width:.8}.cf-motion-wide{stroke:#f2a33d;stroke-width:3}.cf-motion-fine{stroke:#f4e9cb;stroke-width:.8}
.card-face.cf-relic{padding:16px 17px 13px;border:0;border-radius:27px 8px 25px 8px;background:linear-gradient(112deg,#5e4632 0%,#bea171 8%,#786043 16%,#dcc28b 44%,#66513a 82%,#b59862 100%);box-shadow:inset 0 0 0 3px #372c23,inset 0 0 0 5px #d2b275,0 12px 25px #1b202a44;grid-template-rows:12% 43% 9% 25% 11%;clip-path:polygon(6% 0,94% 0,100% 5%,100% 87%,94% 100%,5% 100%,0 95%,0 8%)}
.cf-relic .cf-header{position:relative;gap:7px;border-bottom:2px solid #614c32;background:linear-gradient(90deg,#f4eccd,#dfd2a9);margin:0 -6px;padding:0 8px 0 4px;box-shadow:0 3px 4px #211b1844;z-index:4;border-radius:25px 5px 5px 5px}.cf-relic .cf-cost{width:40px;height:40px;border-radius:50%;background:radial-gradient(circle at 35% 25%,#fff5cf 0%,#d2b774 40%,#887049 85%);box-shadow:0 0 0 2px #745a33,0 0 0 4px #d6bd7e,2px 3px 5px #0007;transform:translateX(-9px);margin-right:-6px;color:#263936}.cf-relic .cf-cost .cf-icon{width:26px;height:26px;inset:7px;fill:none;stroke:#8b7046;opacity:.5}.cf-relic .cf-cost b{font-size:23px;text-shadow:0 1px #fff7d5}.cf-relic .cf-name{font-family:Georgia,serif;font-weight:700;font-size:6cqw;line-height:1.04;letter-spacing:-.04em;color:#303e33}.cf-relic .cf-art{border:3px solid #594a32;border-bottom:0;border-radius:27px 5px 0 0;box-shadow:inset 0 0 0 2px #efd59a}.cf-relic .cf-type{color:#eef3e2;background:#334a3d;border:1px solid #ad955f;padding-inline:7px}.cf-relic .cf-strategy{color:#eef3e2}.cf-relic .cf-rules{background:linear-gradient(110deg,#faf5dc,#e5dec4);padding:12px 12px 6px;border-inline:2px solid #806b48;border-bottom:1px solid #baa16a;box-shadow:inset 0 3px 0 #fff9df,inset 0 0 0 4px #eee5c9;font-family:Georgia,serif;font-size:4.6cqw;line-height:1.4}.cf-relic .cf-footer{background:#e9dfbf;border:2px solid #806b48;border-top:0;border-radius:0 0 15px 2px;padding:4px 8px 8px}.cf-relic .cf-stat{gap:4px}.cf-relic .cf-stat b{min-width:29px;padding:4px;color:#f7f3df;background:linear-gradient(145deg,#51664e,#25392c);border:1px solid #19291e;border-radius:6px 0 6px 0;box-shadow:0 0 0 2px #ccb879,inset 0 1px #899e73;text-align:center;font-size:7cqw}.cf-relic .cf-health b{background:linear-gradient(145deg,#a16a51,#633a2e)}.cf-relic .cf-collector{bottom:2px;color:#675637}.cf-relic.cf-tactic .cf-footer{justify-content:center}
.card-face.cf-vista{padding:10px;border:1px solid #273d3e;border-radius:24px 24px 30px 4px;background:#f0ecd8;box-shadow:0 12px 25px #192a2c40;grid-template-rows:12% 42% 10% 25% 11%}
.card-face.cf-vista:not(.cf-board)>.cf-art{grid-row:1 / 4;grid-column:1;margin:-10px -10px 0;z-index:0;border-bottom:3px solid #bf9d53}.card-face.cf-vista:not(.cf-board)>.cf-header{grid-row:2;grid-column:1;z-index:3;align-self:end;position:static;display:block;margin:0 -2px 0}.cf-vista .cf-cost{position:absolute;left:12px;top:13px;width:43px;height:43px;border-radius:50%;background:#fff8e2;color:#203a3d;box-shadow:0 0 0 2px #b8984c,0 3px 9px #001d2e66;z-index:4}.cf-vista .cf-cost .cf-icon{inset:7px;width:29px;height:29px;stroke:#b99542;fill:none;opacity:.45}.cf-vista .cf-cost b{font-size:25px}.cf-vista .cf-name{display:block;background:#173637f2;color:#fff7dd;padding:9px 12px;font-size:6.1cqw;font-weight:800;letter-spacing:-.045em;line-height:1.1;border-left:4px solid #d8b259;box-shadow:0 2px 6px #12231c44;position:relative}.cf-vista .cf-type{z-index:3;align-self:start;min-height:25px;margin-inline:5px;background:#fff7dd;border:1px solid #ae9358;box-shadow:0 4px 7px #1d282b22;padding:4px 8px;font-size:3.6cqw}.cf-vista .cf-rules{z-index:2;background:#f9f5e8;padding:13px 12px 6px;line-height:1.45;border-inline:1px solid #d4c8a4;margin-inline:4px;font-size:4.6cqw}.cf-vista .cf-footer{background:#f9f5e8;z-index:2;border:1px solid #d4c8a4;border-top:0;border-radius:0 0 24px 2px;margin-inline:4px;padding:4px 8px 11px}.cf-vista .cf-stat{gap:4px}.cf-vista .cf-stat b{font-size:8.2cqw;font-weight:900;letter-spacing:-.08em}.cf-vista .cf-stat .cf-icon{width:19px;height:19px}.cf-vista .cf-collector{bottom:2px;font-size:2.6cqw;color:#8a805f}
.card-face.cf-surge{padding:13px 13px 12px;border:0;grid-template-rows:12% 44% 8% 25% 11%;background:#1a2634;clip-path:polygon(8% 0,100% 0,100% 92%,92% 100%,0 100%,0 8%);border-radius:0;box-shadow:0 12px 25px #161d3044}.cf-surge .cf-header{z-index:4;margin:0 -5px 0 0;gap:5px;position:relative}.cf-surge .cf-name{font-family:'Cards Condensed',sans-serif;font-size:5.9cqw;font-weight:700;text-transform:uppercase;letter-spacing:-.045em;color:#fff9e2;line-height:1.1;flex:1}.cf-surge .cf-cost{width:38px;height:41px;background:#f3ae41;color:#182736;clip-path:polygon(25% 0,100% 0,100% 75%,75% 100%,0 100%,0 25%);margin-left:-3px}.cf-surge .cf-cost b{font-size:24px}.cf-surge .cf-cost .cf-icon{display:none}.cf-surge .cf-art{margin:0 -3px;clip-path:polygon(8% 0,100% 0,100% 82%,89% 100%,0 100%,0 15%);border:3px solid #f3ae41;background:#2d4250}.cf-surge .cf-type{background:#f3ae41;border:0;clip-path:polygon(0 0,94% 0,100% 100%,0 100%);margin:-5px 0 0;padding:3px 10px;z-index:3;color:#1b2b37}.cf-surge .cf-strategy{color:#1b2b37}.cf-surge .cf-rules{background:#f9f3df;z-index:2;padding:13px 12px 5px;margin:0 -3px 0 4px;border-left:4px solid var(--cf-accent);font-size:4.6cqw;line-height:1.4}.cf-surge .cf-footer{background:#f9f3df;margin:0 -3px 0 4px;border-left:4px solid var(--cf-accent);padding:5px 7px 9px;clip-path:polygon(0 0,100% 0,94% 100%,0 100%)}.cf-surge .cf-stat{gap:4px}.cf-surge .cf-stat b{background:#1b2c38;color:#fff7da;font-size:7.5cqw;min-width:30px;padding:3px 7px;clip-path:polygon(20% 0,100% 0,100% 80%,80% 100%,0 100%,0 20%)}.cf-surge .cf-health b{background:#953f37}.cf-surge .cf-collector{bottom:2px;color:#786f51}.cf-surge .cf-kind{font-weight:800}
.cf-relic.cf-compact{padding:10px 10px 8px}.cf-relic.cf-compact .cf-header{margin:0 -3px;padding-left:4px;gap:3px}.cf-relic.cf-compact .cf-cost{width:26px;height:26px;transform:translateX(-5px);margin-right:-3px}.cf-relic.cf-compact .cf-cost b{font-size:18px}.cf-relic.cf-compact .cf-cost .cf-icon{inset:5px;width:16px;height:16px}.cf-relic.cf-compact .cf-name{font-size:12px}.cf-relic.cf-compact .cf-art{border-width:2px;border-radius:17px 3px 0 0}.cf-relic.cf-compact .cf-type{padding:0 4px;font-size:8px}.cf-relic.cf-compact .cf-rules{font-size:11px;padding:7px 6px 3px;line-height:1.3}.cf-relic.cf-compact .cf-footer{padding:3px 4px}.cf-relic.cf-compact .cf-stat b{font-size:18px;min-width:21px;padding:2px}.cf-relic.cf-compact .cf-stat-label{font-size:8px}.cf-vista.cf-compact{padding:7px}.card-face.cf-vista.cf-compact>.cf-art{margin:-7px -7px 0}.cf-vista.cf-compact .cf-cost{left:9px;top:9px;width:30px;height:30px}.cf-vista.cf-compact .cf-cost b{font-size:20px}.cf-vista.cf-compact .cf-cost .cf-icon{inset:5px;width:20px;height:20px}.cf-vista.cf-compact .cf-name{font-size:12px;padding:5px 7px}.cf-vista.cf-compact .cf-type{font-size:8px;min-height:18px;padding:2px 4px;margin-inline:1px}.cf-vista.cf-compact .cf-rules{font-size:11px;line-height:1.3;padding:7px 7px 3px;margin-inline:1px}.cf-vista.cf-compact .cf-footer{margin-inline:1px;padding:2px 4px 4px}.cf-vista.cf-compact .cf-stat b{font-size:19px}.cf-surge.cf-compact{padding:8px 9px 8px}.cf-surge.cf-compact .cf-name{font-size:11px}.cf-surge.cf-compact .cf-cost{width:28px;height:29px}.cf-surge.cf-compact .cf-cost b{font-size:18px}.cf-surge.cf-compact .cf-type{font-size:8px;padding:2px 5px;margin-top:-3px}.cf-surge.cf-compact .cf-rules{font-size:11px;line-height:1.3;padding:7px 6px 3px;margin-left:2px;border-left-width:3px}.cf-surge.cf-compact .cf-footer{margin-left:2px;padding:3px 3px;border-left-width:3px}.cf-surge.cf-compact .cf-stat b{font-size:18px;min-width:22px;padding:2px 4px}.cf-surge.cf-compact .cf-stat-label{font-size:8px}
/* Board dimensions and external readiness/Guard markers remain owned by play. */
.card-face.cf-board.cf-relic,.card-face.cf-board.cf-vista,.card-face.cf-board.cf-surge{padding:5px;grid-template-rows:18% 53% 11% 0 18%;clip-path:none;border-radius:6px}.cf-board.cf-relic .cf-header,.cf-board.cf-vista .cf-header,.cf-board.cf-surge .cf-header{position:relative;display:flex;align-self:stretch;gap:3px;padding:1px 2px;margin:0;background:#f6eed8;border:0;border-radius:0}.cf-board.cf-vista .cf-cost{position:relative;top:auto;left:auto;width:25px;height:27px;box-shadow:none}.cf-board.cf-relic .cf-cost{width:25px;height:27px;transform:none;margin:0;box-shadow:none;border-radius:3px}.cf-board.cf-surge .cf-cost{width:25px;height:27px;margin:0}.cf-board.cf-vista .cf-name,.cf-board.cf-relic .cf-name,.cf-board.cf-surge .cf-name{font:800 11px/1.05 Arial,sans-serif;padding:0;background:none;color:#22362c;border:0;box-shadow:none;text-transform:none;letter-spacing:-.035em}.cf-board.cf-vista .cf-art,.cf-board.cf-relic .cf-art,.cf-board.cf-surge .cf-art{margin:0;clip-path:none;border:1px solid #ad9156;border-radius:2px}.cf-board.cf-vista .cf-type,.cf-board.cf-relic .cf-type,.cf-board.cf-surge .cf-type{margin:0;padding:0 3px;min-height:0;font-size:7px;clip-path:none}.cf-board.cf-vista .cf-footer,.cf-board.cf-relic .cf-footer,.cf-board.cf-surge .cf-footer{margin:0;padding:2px 3px;border:0;border-radius:0;clip-path:none;background:#f9f3df;flex-wrap:nowrap}.cf-board.cf-vista .cf-stat b,.cf-board.cf-relic .cf-stat b,.cf-board.cf-surge .cf-stat b{font-size:18px;min-width:0;padding:0 2px;box-shadow:none;border:0;border-radius:0;clip-path:none}.cf-board .cf-ornament{opacity:.5}.card-back.cf-relic{border:5px solid #49382a;border-radius:24px 5px 24px 5px;background:linear-gradient(125deg,#684e35,#e0bd79 30%,#a08455 55%,#54402f);box-shadow:inset 0 0 0 8px #bda375,inset 0 0 0 10px #4b4433,inset 0 0 0 16px #d7cba0}.card-back.cf-relic svg{width:66%;stroke:#394d3e;stroke-width:3}.card-back.cf-vista{background:radial-gradient(ellipse at 50% 40%,#345862,#142f3a 68%);border:2px solid #c5a465;border-radius:24px 24px 30px 4px;box-shadow:inset 0 0 0 8px #142f3a,inset 0 0 0 9px #997b45}.card-back.cf-vista svg{width:71%;stroke:#e9d2a1;stroke-width:2}.card-back.cf-surge{background:repeating-linear-gradient(120deg,#1a2634 0 24px,#243c4c 24px 28px);border:4px solid #172331;border-radius:0;clip-path:polygon(12% 0,100% 0,100% 88%,88% 100%,0 100%,0 12%);box-shadow:inset 0 0 0 8px #172331,inset 0 0 0 11px #e9a23b}.card-back.cf-surge svg{width:67%;stroke:#f0b245;stroke-width:4;transform:rotate(-8deg)}
@container (max-width:100px){.cf-board.cf-relic .cf-cost,.cf-board.cf-vista .cf-cost,.cf-board.cf-surge .cf-cost{display:none}.cf-board.cf-relic .cf-name,.cf-board.cf-vista .cf-name,.cf-board.cf-surge .cf-name{font-size:10px}.cf-board.cf-relic .cf-stat b,.cf-board.cf-vista .cf-stat b,.cf-board.cf-surge .cf-stat b{font-size:14px;background:none;color:inherit;padding:0}.cf-board.cf-relic .cf-stat,.cf-board.cf-vista .cf-stat,.cf-board.cf-surge .cf-stat{padding:0;gap:1px}.cf-board .cf-ornament{display:none}}
.card-face.cf-vista:not(.cf-board){grid-template-rows:9% 39% 10% 29% 13%}.card-face.cf-vista:not(.cf-board)>.cf-art{grid-row:1 / 3}.cf-vista:not(.cf-board) .cf-type{margin-top:5px}.cf-vista:not(.cf-board) .cf-rules{padding-top:14px}
.card-face.cf-relic>.cf-header,.card-face.cf-relic>.cf-type,.card-face.cf-relic>.cf-rules,.card-face.cf-relic>.cf-footer,.card-face.cf-surge>.cf-header,.card-face.cf-surge>.cf-type,.card-face.cf-surge>.cf-rules,.card-face.cf-surge>.cf-footer{position:relative;z-index:4}.card-face.cf-relic>.cf-art,.card-face.cf-surge>.cf-art{z-index:1}.cf-ornament{z-index:2}

.card-face.cf-vista>.cf-rules,.card-face.cf-vista>.cf-footer{position:relative;z-index:3}
/* SELECTED VISTA: title above a taller, unobstructed scene. */
.card-face.cf-vista:not(.cf-board){padding:8px;border:2px solid #756b49;border-radius:13px 13px 20px 4px;background:#e8e3cd;grid-template-rows:9% 58% 7% 15% 11%;box-shadow:inset 0 0 0 1px #fcf5dc,0 9px 22px #15252a3d}
.card-face.cf-vista:not(.cf-board)>.cf-header{grid-row:1;grid-column:1;display:flex;align-self:stretch;align-items:center;gap:8px;position:relative;margin:0 0 4px;padding:0 2px;background:#f6f0d9;border-bottom:1px solid #b7a56e;z-index:3}
.cf-vista:not(.cf-board) .cf-name{font:800 6.1cqw/1.06 Arial,Helvetica,sans-serif;letter-spacing:-.045em;background:none;border:0;box-shadow:none;color:#233b39;padding:0;flex:1;min-width:0}
.cf-vista:not(.cf-board) .cf-cost{position:relative;top:auto;left:auto;width:28px;height:31px;flex:none;border-radius:3px 9px 3px 9px;box-shadow:inset 0 0 0 1px #95773a;background:linear-gradient(130deg,#fcf6da,#dacb96);color:#253e38;margin-left:-3px}
.cf-vista:not(.cf-board) .cf-cost .cf-icon{width:23px;height:23px;inset:4px 2px;stroke:#a68a4d;opacity:.35}.cf-vista:not(.cf-board) .cf-cost b{font-size:21px}
.card-face.cf-vista:not(.cf-board)>.cf-art{grid-row:2;grid-column:1;z-index:0;margin:0 -3px;border:0;border-radius:2px;background:#d5dacc;box-shadow:none}
.cf-vista:not(.cf-board) .cf-type{grid-row:3;align-self:stretch;margin:0 -1px;padding:0 6px;border:0;border-bottom:1px solid #d1c49a;min-height:0;background:#eee8d1;box-shadow:none;font-size:3.4cqw}
.cf-vista:not(.cf-board) .cf-rules{grid-row:4;margin:0 -1px;padding:7px 9px 3px;background:#fcf8e9;border:0;font-size:4.4cqw;line-height:1.36}
.cf-vista:not(.cf-board) .cf-footer{grid-row:5;z-index:2;background:#fcf8e9;border:0;border-radius:0 0 12px 2px;margin:0 -1px;padding:0 13px 4px;overflow:visible;flex-wrap:nowrap;align-items:center}
.cf-vista .cf-stat{width:54px;height:51px;position:relative;display:grid;place-items:center;line-height:1;padding-bottom:9px;flex:none;gap:0;color:#fff9e8}
.cf-vista .cf-seal{position:absolute;left:0;top:-4px;width:54px;height:52px;z-index:0;filter:drop-shadow(0 2px 1px #5b442b40)}
.cf-vista .cf-stat>.cf-icon{display:none}.cf-vista .cf-stat b{position:relative;z-index:1;font-size:27px;font-weight:800;letter-spacing:-.055em;text-shadow:0 1px 2px #142f2ecc;background:none;padding:0;line-height:1;color:#fff9e8}
.cf-vista .cf-stat-label{position:absolute;bottom:0;left:0;right:0;text-align:center;font-size:8px;font-weight:700;color:#5e624b;letter-spacing:.03em}.cf-vista .cf-collector{display:none}.cf-vista .cf-stat-buffed b{color:#ffffb3}.cf-vista .cf-stat-damaged b{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:2px}
.card-face.cf-vista.cf-compact{padding:5px;grid-template-rows:10% 51% 8% 20% 11%;border-radius:8px 8px 13px 3px}.cf-vista.cf-compact .cf-header{gap:4px;margin-bottom:2px;padding:0 1px}.cf-vista.cf-compact .cf-name{font-size:12px;line-height:1.05}.cf-vista.cf-compact .cf-cost{width:22px;height:23px;border-radius:2px 6px 2px 6px;margin-left:-2px}.cf-vista.cf-compact .cf-cost b{font-size:16px}.cf-vista.cf-compact .cf-cost .cf-icon{width:17px;height:17px;inset:3px 2px}.cf-vista.cf-compact .cf-type{font-size:8px;padding:0 4px}.cf-vista.cf-compact .cf-rules{font-size:11px;line-height:1.27;padding:5px 6px 2px}.cf-vista.cf-compact .cf-footer{padding:0 5px 2px}.cf-vista.cf-compact .cf-stat{width:34px;height:32px;padding-bottom:5px}.cf-vista.cf-compact .cf-seal{width:34px;height:33px;top:-3px}.cf-vista.cf-compact .cf-stat b{font-size:19px}.cf-vista.cf-compact .cf-stat-label{font-size:8px;bottom:-1px}.cf-vista.cf-compact .cf-resolution{font-size:9px}
.cf-vista.cf-board .cf-cost{position:relative;top:auto;left:auto;box-shadow:none}.cf-vista.cf-board .cf-stat{width:35px;height:31px;padding-bottom:0;display:grid;place-items:center}.cf-vista.cf-board .cf-seal{width:35px;height:34px;top:-3px}.cf-vista.cf-board .cf-stat b{font-size:19px;color:#fff9e8;background:none;padding:0;line-height:1}.cf-vista.cf-board .cf-stat-label{display:none}.cf-vista.cf-board .cf-footer{overflow:visible;align-items:center}.cf-vista.cf-board .cf-ornament{display:none}
.card-back.cb-illustrated{width:270px;padding:0;display:block;overflow:hidden;aspect-ratio:63/88;background:#192c30;border:1px solid #897551;border-radius:11px;box-shadow:0 7px 18px #172a3040}.card-back.cb-illustrated .cb-image{width:100%;height:100%;display:block;object-fit:cover}.card-back.cb-compact{width:112px;border-radius:5px}.card-back.cb-illustrated .cb-error{height:100%;display:grid;place-items:center;padding:18px;font:700 12px/1.5 Arial,sans-serif;text-align:center;color:#f2e9d1}.back-preview-rotated .card-back{transform:rotate(180deg)}
@container (max-width:100px){.cf-vista.cf-board .cf-stat{width:25px;height:27px}.cf-vista.cf-board .cf-seal{width:25px;height:27px;top:0}.cf-vista.cf-board .cf-stat b{font-size:14px;color:#fff9e8;padding:0}.cf-vista.cf-board .cf-stat-label{display:none}.cf-vista.cf-board .cf-footer{padding:0 1px;gap:1px}}
/* Last Vista detail pass: energy bezel joins the outer edge; Power is a sword. */
.card-face.cf-vista:not(.cf-board)>.cf-header{gap:9px;padding-left:0}.cf-vista:not(.cf-board) .cf-cost{margin-left:-9px;width:35px;height:32px;border-radius:0 10px 10px 0;border-left:0;background:linear-gradient(115deg,#8a713d,#f7e9b7 22%,#e2cf8e 70%,#a28749);box-shadow:inset 0 1px 0 #fff5d3,inset 0 -1px 0 #907640,inset -1px 0 0 #a1894f}.cf-vista:not(.cf-board) .cf-cost::before{content:'';position:absolute;left:0;top:-2px;bottom:-2px;width:4px;border-left:2px solid #827046;background:#b39d65}.cf-vista:not(.cf-board) .cf-cost .cf-icon{left:6px;width:23px;height:23px}.cf-vista .cf-power b{transform:translate(5px,-2px)}.cf-vista.cf-compact .cf-header{gap:5px}.cf-vista.cf-compact .cf-cost{margin-left:-6px;width:27px;height:23px;border-radius:0 7px 7px 0}.cf-vista.cf-compact .cf-cost .cf-icon{left:5px;width:17px;height:17px}.cf-vista.cf-compact .cf-cost::before{width:3px;border-left-width:1px;top:-1px;bottom:-1px}.cf-vista.cf-compact .cf-power b,.cf-vista.cf-board .cf-power b{transform:translate(3px,-1px)}
@container (max-width:100px){.cf-vista.cf-board .cf-power b{transform:translate(2px,-1px)}}
.cf-vista .cf-power b{text-shadow:-1px -1px 0 #17332d,1px -1px 0 #17332d,-1px 1px 0 #17332d,1px 1px 0 #17332d}.cf-vista:not(.cf-board):not(.cf-compact) .cf-power b{font-size:25px}
.cf-vista:not(.cf-board):not(.cf-compact) .cf-power.cf-stat-two-digit b{font-size:20px;letter-spacing:-.07em}.cf-vista.cf-compact .cf-power.cf-stat-two-digit b{font-size:15px;letter-spacing:-.09em}.cf-vista.cf-board .cf-power.cf-stat-two-digit b{letter-spacing:-.1em}.cf-vista .cf-power.cf-stat-buffed b{color:#effeaa;text-shadow:-1px -1px 0 #0b271c,1px -1px 0 #0b271c,-1px 1px 0 #0b271c,1px 1px 0 #0b271c}
/* Half-height title strip and concise lore: presentation, never catalog rules. */
.card-face.cf-vista:not(.cf-board){grid-template-rows:4.5% 60.5% 6% 17% 12%}.card-face.cf-vista.cf-has-flavor:not(.cf-board){grid-template-rows:4.5% 54.5% 6% 23% 12%}.card-face.cf-vista:not(.cf-board)>.cf-header{margin-bottom:1px;gap:7px}.cf-vista:not(.cf-board) .cf-name{font-size:16.5px;line-height:1;letter-spacing:-.04em;white-space:nowrap}.cf-vista.cf-long-name:not(.cf-board) .cf-name{font-size:15px}.cf-vista:not(.cf-board) .cf-cost{height:19px;width:27px;border-radius:0 6px 6px 0}.cf-vista:not(.cf-board) .cf-cost b{font-size:15px}.cf-vista:not(.cf-board) .cf-cost .cf-icon{width:17px;height:17px;inset:1px 5px}.cf-rule-copy{display:block}.cf-flavor{display:block;font:italic 11px/1.3 Georgia,serif;color:#68634e;margin-top:6px;padding-top:5px;border-top:1px solid #e7dfc4}.cf-vista .cf-stat{height:49px;padding-bottom:8px}.cf-vista .cf-seal{top:0;overflow:visible}.cf-vista.cf-compact .cf-seal,.cf-vista.cf-board .cf-seal{top:0;overflow:visible}.card-face.cf-vista.cf-compact{grid-template-rows:5.5% 57% 7.5% 18% 12%}.card-face.cf-vista.cf-compact.cf-has-flavor{grid-template-rows:5.5% 47% 7.5% 28% 12%}.cf-vista.cf-compact .cf-header{gap:4px;margin-bottom:1px}.cf-vista.cf-compact .cf-name{font-size:10.5px;line-height:1;letter-spacing:-.045em}.cf-vista.cf-compact.cf-long-name .cf-name{font-size:10px}.cf-vista.cf-compact .cf-cost{width:21px;height:14px}.cf-vista.cf-compact .cf-cost b{font-size:11px}.cf-vista.cf-compact .cf-cost .cf-icon{width:13px;height:13px;inset:0 4px}.cf-vista.cf-compact .cf-rules{font-size:10.5px;line-height:1.18;padding:4px 6px 2px}.cf-vista.cf-compact .cf-flavor{font-size:9px;line-height:1.08;padding-top:2px;margin-top:3px}.cf-vista.cf-compact .cf-stat{height:32px;padding-bottom:5px}.cf-vista.cf-board .cf-stat{height:31px;padding-bottom:0}
@container (max-width:100px){.cf-vista.cf-board .cf-stat{height:27px;padding-bottom:0}}
/* Full previews shrink in real gallery columns: keep proportions and let copy claim its needed height. */
.card-face.cf-vista.cf-has-flavor:not(.cf-board):not(.cf-compact){grid-template-rows:4.5% minmax(0,1fr) 6% minmax(23%,max-content) 12%}
.cf-vista:not(.cf-board):not(.cf-compact) .cf-name{font-size:5.5cqw}.cf-vista.cf-long-name:not(.cf-board):not(.cf-compact) .cf-name{font-size:5cqw}
.cf-vista:not(.cf-board):not(.cf-compact) .cf-cost{width:9cqw;height:6.33cqw}.cf-vista:not(.cf-board):not(.cf-compact) .cf-cost b{font-size:5cqw}.cf-vista:not(.cf-board):not(.cf-compact) .cf-cost .cf-icon{width:5.67cqw;height:5.67cqw;inset:.33cqw 1.67cqw}
.cf-vista:not(.cf-board):not(.cf-compact) .cf-flavor{font-size:clamp(9px,3.67cqw,11px);margin-top:1.5cqw;padding-top:1.33cqw}
.cf-vista:not(.cf-board):not(.cf-compact) .cf-stat{width:18cqw;height:16.33cqw;padding-bottom:2.67cqw}.cf-vista:not(.cf-board):not(.cf-compact) .cf-seal{width:18cqw;height:17.33cqw}.cf-vista:not(.cf-board):not(.cf-compact) .cf-stat b{font-size:9cqw}.cf-vista:not(.cf-board):not(.cf-compact) .cf-power b{font-size:8.33cqw;transform:translate(1.67cqw,-.67cqw)}.cf-vista:not(.cf-board):not(.cf-compact) .cf-power.cf-stat-two-digit b{font-size:6.67cqw}.cf-vista:not(.cf-board):not(.cf-compact) .cf-stat-label{font-size:clamp(7px,2.67cqw,8px)}
.cf-vista:not(.cf-board):not(.cf-compact) .cf-rules{font-size:clamp(10.5px,4.4cqw,14px)}.cf-vista:not(.cf-board):not(.cf-compact) .cf-type{font-size:clamp(8px,3.4cqw,11px)}

/* Canonical Vista regions: rules and lore never consume the illustration. */
.card-face.cf-vista:not(.cf-board):not(.cf-compact),.card-face.cf-vista.cf-has-flavor:not(.cf-board):not(.cf-compact){grid-template-rows:4.5% 54.5% 6% 23% 12%}
.card-face.cf-vista:not(.cf-board):not(.cf-compact)>.cf-rules{min-height:0;padding:2cqw 2.8cqw 0;font-size:3.8cqw;line-height:1.25}
.cf-vista:not(.cf-board):not(.cf-compact) .cf-flavor{font-size:3.2cqw;line-height:1.2;margin-top:1.3cqw;padding-top:1.2cqw}
.card-face.cf-vista.cf-compact,.card-face.cf-vista.cf-compact.cf-has-flavor{grid-template-rows:5.5% 50% 7.5% 25% 12%}
