.mc-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:1rem;width:100%;max-width:960px;margin:0 auto;display:grid}
.mc-card{background:var(--surface);border:1px solid var(--surface-hi);color:var(--text);cursor:pointer;border-radius:14px;flex-direction:column;align-items:center;gap:.6rem;padding:1.1rem 1rem 1.2rem;text-decoration:none;transition:transform .12s,box-shadow .12s;display:flex;box-shadow:0 4px 14px #0000002e}
.mc-card:hover,.mc-card:focus-visible{outline:none;transform:translateY(-3px);box-shadow:0 8px 22px #00000047}
.mc-role{letter-spacing:.03em;color:var(--bg);border-radius:999px;align-self:flex-start;padding:.15rem .55rem;font-size:.72rem;font-weight:600}
.mc-body{width:auto;height:150px}
.mc-name{text-align:center;word-break:break-word;font-size:1rem;font-weight:600}
.mc-cape{color:var(--text-muted);font-size:.72rem}
.mc-overlay{z-index:1000;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);opacity:0;pointer-events:none;background:#0000008c;justify-content:center;align-items:center;padding:1.25rem;transition:opacity .16s;display:flex;position:fixed;inset:0}
.mc-overlay.is-open{opacity:1;pointer-events:auto}
.mc-dialog{background:var(--bg);border:1px solid var(--surface-hi);border-radius:18px;width:100%;max-width:460px;max-height:90vh;padding:1.4rem;transition:transform .16s;position:relative;overflow:auto;transform:translateY(12px)scale(.98);box-shadow:0 20px 60px #00000080}
.mc-overlay.is-open .mc-dialog{transform:none}
.mc-close{background:var(--surface);width:30px;height:30px;color:var(--text);cursor:pointer;border:none;border-radius:50%;font-size:1.1rem;line-height:1;position:absolute;top:.8rem;right:.8rem}
.mc-close:hover{background:var(--surface-hi)}
.mc-d-head{align-items:center;gap:.9rem;margin-bottom:1rem;display:flex}
.mc-hero{flex:none;width:auto;height:190px}
.mc-d-title{flex-direction:column;gap:.4rem;min-width:0;display:flex}
.mc-skull{flex:none;width:52px;height:52px}
.mc-d-name{word-break:break-word;font-size:1.3rem;font-weight:700}
.mc-d-role{letter-spacing:.03em;color:var(--bg);border-radius:999px;align-self:flex-start;padding:.15rem .6rem;font-size:.72rem;font-weight:600}
.mc-hat{cursor:pointer;font:inherit;border:1px solid var(--surface-hi);background:var(--surface);color:var(--text);border-radius:8px;align-self:flex-start;padding:.3rem .6rem;font-size:.75rem}
.mc-hat:hover{background:var(--surface-hi)}
.mc-tabs{border-bottom:1px solid var(--surface-hi);gap:.35rem;margin-bottom:1rem;display:flex}
.mc-tab{cursor:pointer;font:inherit;color:var(--text-muted);background:0 0;border:none;border-bottom:2px solid #0000;flex:1;margin-bottom:-1px;padding:.55rem .4rem;font-size:.82rem;font-weight:600;transition:color .12s,border-color .12s}
.mc-tab:hover{color:var(--text)}
.mc-tab.is-active{color:var(--text);border-bottom-color:var(--accent-alt)}
.mc-panel{display:none}
.mc-panel.is-active{display:block}
.mc-ext-hero{flex-direction:column;align-items:center;gap:.6rem;margin-bottom:1rem;display:flex}
.mc-3d-wrap{justify-content:center;align-items:center;min-height:400px;margin-bottom:.5rem;display:flex;position:relative}
.mc-3d-canvas{background:var(--surface);border:1px solid var(--surface-hi);cursor:grab;touch-action:none;border-radius:12px;max-width:100%}
.mc-3d-canvas:active{cursor:grabbing}
.mc-3d-loading{color:var(--text-muted);pointer-events:none;justify-content:center;align-items:center;font-size:.9rem;display:flex;position:absolute;inset:0}
.mc-3d-loading[hidden]{display:none}
.mc-3d-hint{text-align:center;color:var(--text-muted);margin:0 0 .75rem;font-size:.72rem}
.mc-ctl-group{flex-wrap:wrap;justify-content:center;gap:.4rem;margin-bottom:.6rem;display:flex}
.mc-flex-break{border:0;flex-basis:100%;height:0;margin:0;padding:0}
.mc-ctl-label{text-align:center;letter-spacing:.05em;text-transform:uppercase;width:100%;color:var(--text-muted);margin-bottom:.1rem;font-size:.68rem;font-weight:700}
.mc-pill{cursor:pointer;font:inherit;border:1px solid var(--surface-hi);background:var(--surface);color:var(--text);border-radius:999px;padding:.32rem .7rem;font-size:.75rem;transition:background .12s,border-color .12s}
.mc-pill:hover{background:var(--surface-hi)}
.mc-pill.is-active{background:var(--accent-alt);border-color:var(--accent-alt);color:var(--bg)}
.mc-rows{flex-direction:column;gap:.5rem;margin:.25rem 0 1rem;display:flex}
.mc-row{background:var(--surface);border-radius:9px;justify-content:space-between;gap:1rem;padding:.4rem .65rem;font-size:.85rem;display:flex}
.mc-row-k{color:var(--text-muted)}
.mc-row-v{font-family:var(--mono,ui-monospace, monospace);word-break:break-all;text-align:right}
.mc-copy{cursor:pointer;color:inherit;font:inherit;text-align:right;background:0 0;border:none;padding:0}
.mc-copy:hover{color:var(--accent-alt)}
.mc-tex{gap:.75rem;margin-bottom:1rem;display:flex}
.mc-tex figure{flex-direction:column;align-items:center;gap:.3rem;margin:0;display:flex}
.mc-tex img,.mc-tex canvas{image-rendering:pixelated;background:var(--surface);border:1px solid var(--surface-hi);border-radius:8px}
.mc-cape-cv{width:60px;height:96px}
.mc-tex figcaption{color:var(--text-muted);font-size:.7rem}
.mc-section-t{letter-spacing:.04em;text-transform:uppercase;color:var(--text-muted);margin:0 0 .5rem;font-size:.8rem;font-weight:700}
.mc-soon{border:1px dashed var(--surface-hi);background:var(--surface);color:var(--text-muted);text-align:center;border-radius:12px;margin-bottom:1rem;padding:1rem;font-size:.9rem}
.mc-namemc{box-sizing:border-box;text-align:center;background:var(--surface);width:100%;color:var(--text);border-radius:10px;padding:.65rem;font-size:.9rem;font-weight:600;text-decoration:none;display:inline-block}
.mc-namemc:hover{background:var(--surface-hi)}
@media (max-width:480px){.mc-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:.65rem}}
