/* Digital Market card skin (approved designs, 2026-11-17). Text, costs and states are rendered from rules data. */
.sw-market-card.mk2{--ink:#2a2016;--gold:#c58b4a;--gold-hi:#e8bd78;width:378px;height:528px;display:flex;flex-direction:column;padding:9px 11px 8px;border:3px solid #a8672a;border-radius:17px;background:radial-gradient(120% 80% at 50% 0,#251a13,#150f0b);color:#f7ecd3;box-shadow:inset 0 0 0 1px #e2b06b,inset 0 0 0 4px #1b130e,0 10px 22px #0009;overflow:hidden}
.sw-market-card.mk2 *{box-sizing:border-box}
.sw-market-card.mk2 .m2-top{flex:none;height:34px;display:flex;align-items:center;border:1.5px solid var(--gold);border-radius:18px;background:#0f0a07;padding:0 4px}
.sw-market-card.mk2 .m2-price{flex:1;display:flex;justify-content:center;gap:12px;align-items:center}
.sw-market-card.mk2 .m2-price .mk-amount{font-size:17px;color:#fff6e2}
.sw-market-card.mk2 .m2-price .mk-icon{width:22px;height:22px}
.sw-market-card.mk2 .m2-code{flex:1;text-align:center;border-left:1.5px solid #6c4a2a;font-size:20px;letter-spacing:.02em;color:#fff6e2;line-height:24px}
.sw-market-card.mk2 .m2-art{position:relative;flex:none;height:var(--art,146px);margin-top:6px}
.sw-market-card.mk2 .m2-art img{position:relative;z-index:1;display:block;width:100%;height:100%;object-fit:cover;object-position:50% 40%;border:2px solid var(--gold);border-radius:50% 50% 6px 6px/72% 72% 6px 6px;background:#0f0a07}
.sw-market-card.mk2 .m2-fan{position:absolute;top:2px;width:62px;height:62px;z-index:0;opacity:.85;background:repeating-conic-gradient(from 0deg at 0 0,var(--gold) 0 1.1deg,transparent 1.1deg 6.5deg);clip-path:polygon(0 0,100% 0,0 100%)}
.sw-market-card.mk2 .m2-fan-l{left:0;transform:scaleX(1)}
.sw-market-card.mk2 .m2-fan-r{right:0;transform:scaleX(-1)}
.sw-market-card.mk2 .m2-plate{flex:none;margin-top:-2px;position:relative;z-index:2;text-align:center;padding:5px 8px 5px;border:1.5px solid var(--gold);border-radius:14px;background:#17100c}
.sw-market-card.mk2 .m2-plate h3{margin:0;font-size:21px;line-height:1.1;font-weight:800;color:#fff7e6}
.sw-market-card.mk2 .m2-plate small{display:block;margin-top:2px;font-size:10.5px;letter-spacing:.05em;text-transform:uppercase;color:#e9d9b6}
.sw-market-card.mk2 .m2-plate-auto h3{text-transform:uppercase;letter-spacing:.02em;font-size:19px}
.sw-market-card.mk2 .m2-rule{display:flex!important;align-items:center;gap:8px}
.sw-market-card.mk2 .m2-rule i{flex:1;height:1px;background:#8a6a3e}
.sw-market-card.mk2 .m2-body{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:flex-start;gap:8px;margin-top:10px}
.sw-market-card.mk2 .m2-panel,.sw-market-card.mk2 .m2-stage{background:linear-gradient(#f5e5c0,#e9d4a6);border:1.5px solid #cfae72;border-radius:12px;color:var(--ink);box-shadow:inset 0 0 0 1px #fff3d4}
.sw-market-card.mk2 .m2-panel{display:flex;align-items:center;gap:9px;padding:8px 10px;font-size:14px;line-height:1.22}
.sw-market-card.mk2 .m2-text{flex:1;min-width:0}
.sw-market-card.mk2 .m2-text p{margin:0}
.sw-market-card.mk2 .m2-text .mk-icon{width:19px;height:19px}
.sw-market-card.mk2 .m2-invest{display:flex;align-items:center;gap:7px;margin-bottom:1px;font-weight:700}
.sw-market-card.mk2 .m2-invest small{font-size:11.5px;font-weight:600;color:#5b472d}
.sw-market-card.mk2 .m2-invest .mk-amount{font-size:15px}
.sw-market-card.mk2 .m2-invest .mk-icon{width:19px;height:19px}
.sw-market-card.mk2 .m2-num{flex:none;min-width:30px;height:30px;padding:0 4px;display:inline-grid;place-items:center;border:2px solid #a8763f;border-radius:7px;background:#fdf3da;color:#3b2a1a;font-weight:800;font-size:13px;line-height:1}
.sw-market-card.mk2 .m2-num.m2-square{border-radius:6px}
.sw-market-card.mk2 .m2-num.m2-marked,.sw-market-card.mk2 .m2-use.m2-marked{background:var(--mk-owner);border-color:#fff;color:#fff;box-shadow:0 0 0 2px var(--mk-owner),0 0 8px var(--mk-owner)}
.sw-market-card.mk2 .m2-exchange{display:flex;align-items:center;gap:6px;margin-top:2px;font-weight:700}
.sw-market-card.mk2 .m2-exchange .mk-amount{font-size:15px}
.sw-market-card.mk2 .m2-exchange .mk-icon{width:19px;height:19px}
.sw-market-card.mk2 .m2-stages{display:flex;flex-direction:column;gap:6px}
.sw-market-card.mk2 .m2-stage{display:flex;align-items:center;gap:8px;padding:4px 8px;min-height:50px}
.sw-market-card.mk2 .m2-step{flex:none;width:34px;height:30px;display:grid;place-items:center;background:#1b130e;color:#fff6e2;font-size:19px;clip-path:polygon(0 0,70% 0,100% 50%,70% 100%,0 100%)}
.sw-market-card.mk2 .m2-pay,.sw-market-card.mk2 .m2-reward{display:flex;align-items:center;gap:8px;font-weight:800;font-size:16px}
.sw-market-card.mk2 .m2-reward{flex:1;justify-content:flex-start;flex-wrap:wrap;gap:4px 8px}
.sw-market-card.mk2 .m2-arrow{color:#5b472d;font-weight:800}
.sw-market-card.mk2 .m2-stage .mk-icon{width:21px;height:21px}
.sw-market-card.mk2 .m2-stage small{font-size:11.5px;color:#5b472d;font-weight:600}
.sw-market-card.mk2 .m2-track{margin-top:4px;text-align:center}
.sw-market-card.mk2 .m2-track small{display:block;font-size:12px;font-weight:700;color:#f2e3bf}
.sw-market-card.mk2 .m2-track div{display:flex;justify-content:center;gap:12px;margin-top:3px}
.sw-market-card.mk2 .m2-note{flex:none;margin-top:6px;text-align:center;font-size:12.5px;line-height:1.2;color:#eadfc4}
.sw-market-card.mk2 .m2-note .mk-icon{width:16px;height:16px}
.sw-market-card.mk2 .m2-usage{flex:none;margin-top:4px;display:flex;justify-content:center;align-items:center;gap:9px;font-size:12px;font-weight:700;color:#f6e7c3;text-align:center}
.sw-market-card.mk2 .m2-uses{display:inline-flex;gap:6px}
.sw-market-card.mk2 .m2-use{width:16px;height:16px;border:2px solid #e0b068;border-radius:50%}
.sw-market-card.mk2 .m2-foot{flex:none;margin-top:3px;text-align:center;font-size:10.5px;color:#cdbd9b;letter-spacing:.02em}
.sw-market-card.mk2.mk-autonomous{--art:158px}
.sw-market-card.mk2.mk-autonomous .m2-usage{margin-top:6px;justify-content:center;padding:4px 8px;border:1.5px solid var(--gold);border-radius:14px;background:#17100c}
/* Hosts (dialogs, tray) style paragraphs and small text: the card keeps its own ink. */
html body .sw-market-card.mk2 .m2-panel,html body .sw-market-card.mk2 .m2-stage{color:var(--ink)}
html body .sw-market-card.mk2 .m2-panel p,html body .sw-market-card.mk2 .m2-panel .mk-amount,html body .sw-market-card.mk2 .m2-panel b,html body .sw-market-card.mk2 .m2-stage .mk-amount,html body .sw-market-card.mk2 .m2-stage span:not(.m2-num){color:var(--ink)}
html body .sw-market-card.mk2 .m2-invest small,html body .sw-market-card.mk2 .m2-stage small{color:#5b472d}
html body .sw-market-card.mk2 .m2-note,html body .sw-market-card.mk2 .m2-note *{color:#eadfc4}
html body .sw-market-card.mk2 .m2-usage,html body .sw-market-card.mk2 .m2-usage *{color:#f6e7c3}
html body .sw-market-card.mk2 .m2-foot,html body .sw-market-card.mk2 .m2-foot *{color:#cdbd9b}
html body .sw-market-card.mk2 .m2-plate h3{color:#fff7e6}
html body .sw-market-card.mk2 .m2-plate small{color:#e9d9b6}
html body .sw-market-card.mk2 .m2-track small,html body .sw-market-card.mk2 .m2-track{color:#f2e3bf}
html body .sw-market-card.mk2 .m2-num{color:#3b2a1a}
html body .sw-market-card.mk2 .m2-num.m2-marked,html body .sw-market-card.mk2 .m2-use.m2-marked{color:#fff}
html body .sw-market-card.mk2 .m2-step,html body .sw-market-card.mk2 .m2-top *{color:#fff6e2}
.sw-market-card.mk2 .m2-upvp{margin-left:auto;display:inline-flex;align-items:center;gap:3px;font-weight:800;font-size:14px;color:#6b3d00}.sw-market-card.mk2 .m2-upvp .mk-icon{width:18px;height:18px}
