.mca-article{--mca-section-color:#70dc61;font-size:inherit;line-height:1.9;max-width:100%;overflow-wrap:anywhere}
.mca-article *{box-sizing:border-box}
.mca-article .mca-section-title{display:block!important;background:var(--mca-section-color)!important;color:#fff!important;border:0!important;border-left:6px solid #fff!important;margin:2.4em 0 1.35em!important;padding:.78em 1em!important;font-size:1.45em!important;line-height:1.45!important;font-weight:700!important;box-shadow:none!important}
.mca-article .mca-section-title:before,.mca-article .mca-section-title:after{display:none!important;content:none!important}
.mca-rich{margin:1.25em 0}
.mca-rich>p:first-child{margin-top:0}.mca-rich>p:last-child{margin-bottom:0}
.mca-main-image{display:flex;justify-content:center;align-items:center;margin:1.1em 0 1.7em;padding:1.4em 1em;border-top:1px solid #222;border-bottom:1px solid #222;min-height:170px}
.mca-main-image img{display:block;width:auto!important;max-width:min(100%,420px)!important;height:auto!important;max-height:330px!important;object-fit:contain}
.mca-table-wrap{width:100%;max-width:100%;overflow-x:auto;margin:1.2em 0 2em;-webkit-overflow-scrolling:touch}
.mca-info-table,.mca-skill-table{border-collapse:collapse!important;border-spacing:0!important;width:100%!important;min-width:480px;background:#fff;color:#222;margin:0!important}
.mca-info-table th,.mca-info-table td,.mca-skill-table th,.mca-skill-table td{border:1px solid #222!important;padding:.72em 1em!important;text-align:center!important;vertical-align:middle!important;background:#fff!important;color:#222!important}
.mca-info-table th{width:50%;font-weight:700}
.mca-skill-table th{font-weight:700}
.mca-rank{font-size:2.15em;font-weight:900;line-height:1;display:inline-block;letter-spacing:.02em;text-shadow:0 1px 0 #fff,0 2px 2px rgba(0,0,0,.15)}
.mca-rank-ss{color:#e63946}.mca-rank-s{color:#f2a900}.mca-rank-a{color:#e76f51}.mca-rank-b{color:#2a9d8f}.mca-rank-c{color:#6c757d}
.mca-evolution-grid{display:grid;grid-template-columns:repeat(var(--mca-evo-cols,4),minmax(0,1fr));border-top:1px solid #222;border-left:1px solid #222;margin:1.4em 0 2em;background:#fff}
.mca-evo-item{min-width:0;border-right:1px solid #222;border-bottom:1px solid #222;text-align:center;display:flex;flex-direction:column;background:#fff}
.mca-evo-stage{font-weight:700;padding:.55em .35em;border-bottom:1px solid #222}
.mca-evo-image-frame{height:220px;display:flex;align-items:center;justify-content:center;padding:12px;overflow:hidden}
.mca-evo-image-frame a{display:flex;width:100%;height:100%;align-items:center;justify-content:center}
.mca-evo-img{display:block!important;max-width:100%!important;width:auto!important;height:100%!important;object-fit:contain!important;margin:0 auto!important}
.mca-evo-name{padding:.65em .35em;font-size:.96em;margin-top:auto;min-height:3em;display:flex;align-items:center;justify-content:center}
.mca-ad{margin:2em 0;clear:both;text-align:center;overflow:hidden;max-width:100%}
.mca-ad ins{max-width:100%}
.mca-summary-title{margin-top:2.7em!important}
.mca-compatibility p{margin:1em 0}
.mca-article a img{cursor:pointer}
@media(max-width:767px){
 .mca-article .mca-section-title{font-size:1.22em!important;padding:.72em .75em!important}
 .mca-evolution-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .mca-evo-image-frame{height:165px;padding:8px}
 .mca-info-table,.mca-skill-table{min-width:0;font-size:.92em}
 .mca-info-table th,.mca-info-table td,.mca-skill-table th,.mca-skill-table td{padding:.62em .5em!important}
 .mca-skill-table th:nth-child(1),.mca-skill-table td:nth-child(1){width:18%}
 .mca-main-image{min-height:120px;padding:1em .5em}
}
@media(max-width:600px){
 /* スキル表はスマホでカード型へ切り替え、スキル名の縦詰まりを防ぐ */
 .mca-skill-table{display:block!important;width:100%!important;min-width:0!important;font-size:1em!important;border:0!important;background:transparent!important}
 .mca-skill-table thead{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
 .mca-skill-table tbody{display:block!important;width:100%!important}
 .mca-skill-table tr{display:grid!important;grid-template-columns:64px minmax(0,1fr)!important;width:100%!important;margin:0 0 12px!important;border:1px solid #222!important;border-radius:6px!important;overflow:hidden!important;background:#fff!important}
 .mca-skill-table td{display:flex!important;width:auto!important;min-width:0!important;border:0!important;padding:.72em .78em!important;background:#fff!important;line-height:1.65!important;word-break:normal!important;overflow-wrap:anywhere!important}
 .mca-skill-table td:nth-child(1){grid-column:1!important;grid-row:1!important;align-items:center!important;justify-content:center!important;font-weight:800!important;background:#f5f5f5!important;border-right:1px solid #222!important;text-align:center!important;white-space:nowrap!important}
 .mca-skill-table td:nth-child(2){grid-column:2!important;grid-row:1!important;align-items:center!important;justify-content:flex-start!important;font-size:1.03em!important;font-weight:800!important;text-align:left!important}
 .mca-skill-table td:nth-child(3){grid-column:1/-1!important;grid-row:2!important;display:block!important;border-top:1px solid #222!important;padding:.78em .9em .88em!important;text-align:left!important;line-height:1.75!important}
 .mca-skill-table td:nth-child(3)::before{content:"主な効果";display:block;margin:0 0 .28em;font-size:.78em;font-weight:800;line-height:1.3;color:#666}
}
@media(max-width:420px){
 .mca-evo-image-frame{height:145px}
 .mca-evo-stage,.mca-evo-name{font-size:.88em}
 .mca-skill-table tr{grid-template-columns:58px minmax(0,1fr)!important}
 .mca-skill-table td{padding:.66em .7em!important}
 .mca-skill-table td:nth-child(3){padding:.72em .82em .82em!important}
}

/* Character list */
.mca-character-list{--mca-list-accent:#70dc61;--mca-list-cols:7;max-width:100%;margin:1.25em 0 2.2em;color:#222}
.mca-character-list *{box-sizing:border-box}
.mca-list-group{margin:0 0 2.15em}
.mca-list-group-title{display:flex!important;align-items:center;gap:.55em;width:max-content;max-width:100%;margin:0 0 .85em!important;padding:0 0 .28em!important;border:0!important;border-bottom:4px solid var(--mca-list-accent)!important;background:none!important;color:#222!important;font-size:1.35em!important;line-height:1.25!important;font-weight:800!important;box-shadow:none!important}
.mca-list-group-title:before,.mca-list-group-title:after{display:none!important;content:none!important}
.mca-list-diamond{display:inline-block;width:.72em;height:.72em;flex:0 0 .72em;background:var(--mca-list-accent);transform:rotate(45deg);border-radius:1px}
.mca-list-grid{display:grid;grid-template-columns:repeat(var(--mca-list-cols),minmax(0,1fr));gap:14px 18px;align-items:stretch}
.mca-list-card{display:flex;min-width:0;flex-direction:column;text-decoration:none!important;color:#222!important;border:1px solid #d4d4d4;border-radius:7px;background:#fff;overflow:hidden;transition:border-color .15s ease,transform .15s ease}
.mca-list-card:visited{color:#222!important}
.mca-list-card-image{display:flex;aspect-ratio:1/1;width:100%;align-items:center;justify-content:center;overflow:hidden;background:#fff;border-bottom:1px solid #ddd}
.mca-list-card-img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;margin:0!important}
.mca-list-card-placeholder{display:flex;width:100%;height:100%;align-items:center;justify-content:center;padding:.5em;color:#999;background:#f7f7f7;font-size:.78em;text-align:center}
.mca-list-card-name{display:flex;min-height:3.1em;align-items:center;justify-content:center;padding:.62em .35em;text-align:center;font-size:.98em;font-weight:700;line-height:1.35;background:#fff;overflow-wrap:anywhere}
.mca-list-card-no-link{cursor:default}
@media (hover:hover) and (pointer:fine){
 .mca-list-card[href]:hover{border-color:var(--mca-list-accent);transform:translateY(-2px)}
}
@media(max-width:1100px){.mca-list-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:13px}}
@media(max-width:820px){.mca-list-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.mca-list-group-title{font-size:1.25em!important}}
@media(max-width:600px){.mca-list-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.mca-list-card-name{font-size:.9em;min-height:3em;padding:.52em .25em}.mca-list-group{margin-bottom:1.7em}.mca-list-group-title{font-size:1.15em!important;border-bottom-width:3px!important}}
@media(max-width:380px){.mca-list-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Character list filters */
.mca-list-filters{display:grid;grid-template-columns:minmax(180px,1.5fr) minmax(150px,1fr) minmax(170px,1fr) auto;gap:10px 12px;align-items:end;margin:0 0 1.8em;padding:16px;border:1px solid #ddd;border-radius:8px;background:#fafafa}
.mca-list-filter-field{min-width:0}
.mca-list-filter-field label{display:block;margin:0 0 6px;font-size:.86em;font-weight:700;line-height:1.3;color:#333}
.mca-list-filter-field input,.mca-list-filter-field select{display:block;width:100%;min-width:0;height:44px;margin:0;padding:0 11px;border:1px solid #c9c9c9;border-radius:6px;background:#fff;color:#222;font:inherit;font-size:16px;line-height:1.2;box-shadow:none}
.mca-list-filter-field input:focus,.mca-list-filter-field select:focus{outline:2px solid var(--mca-list-accent);outline-offset:1px;border-color:var(--mca-list-accent)}
.mca-filter-reset{min-height:44px;padding:0 15px;border:1px solid #bdbdbd;border-radius:6px;background:#fff;color:#333;font:inherit;font-weight:700;cursor:pointer;white-space:nowrap}
.mca-filter-reset:hover{border-color:var(--mca-list-accent)}
.mca-filter-reset:focus{outline:2px solid var(--mca-list-accent);outline-offset:1px}
.mca-filter-result{grid-column:1/-1;margin:2px 0 0!important;font-size:.88em;color:#666}
.mca-filter-result-count{font-weight:800;color:#222}
.mca-filter-empty{margin:1.4em 0;padding:1.2em;text-align:center;border:1px dashed #ccc;border-radius:7px;background:#fafafa;color:#666}
.mca-list-card[hidden],.mca-list-group[hidden]{display:none!important}
@media(max-width:760px){.mca-list-filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:13px}.mca-list-filter-name{grid-column:1/-1}.mca-filter-reset{width:100%}.mca-filter-result{grid-column:1/-1}}
@media(max-width:480px){.mca-list-filters{grid-template-columns:1fr}.mca-list-filter-name,.mca-filter-result{grid-column:auto}.mca-list-filter-field input,.mca-list-filter-field select,.mca-filter-reset{width:100%}}
