.mg-template-preview b{position:relative;z-index:2}
.mg-template-preview.is-poster{border:3px solid #1a2024;background:repeating-linear-gradient(135deg,#182228 0 8px,#202d33 8px 16px)}
.mg-template-preview.is-poster:after{content:"";position:absolute;inset:6px;border:1px solid rgba(255,255,255,.7)}
.mg-template-preview.is-poster i{width:14px;height:14px}
.mg-template-preview.is-photo{background:linear-gradient(rgba(8,18,14,.3),rgba(8,18,14,.85)),linear-gradient(135deg,#688a73,#17231c)}
.mg-template-preview.is-photo:after{content:"";position:absolute;left:0;bottom:0;width:100%;height:12px;background:#169b57}
.mg-template-preview.is-ticket{border:1px solid #d8e1dc;background:#f4f4ef}
.mg-template-preview.is-ticket b{padding:4px 6px;border-radius:4px;background:#17231d}
.mg-template-preview.is-ticket i{border:1px solid #d5ddd9}
.mg-template-preview.is-gradient{background:linear-gradient(135deg,#169b57,#253bdb)}
.mg-template-preview.is-gradient:before{content:"";position:absolute;width:76px;height:76px;border:12px solid rgba(255,255,255,.13);border-radius:50%}
.mg-template-preview.is-bold{background:#16191c}
.mg-template-preview.is-bold:before{content:"MATCH";position:absolute;left:4px;top:2px;color:rgba(255,255,255,.09);font-size:24px;font-weight:950}
.mg-template-preview.is-bold:after{content:"";position:absolute;right:0;bottom:0;width:38%;height:100%;background:#169b57;clip-path:polygon(65% 0,100% 0,100% 100%,0 100%)}
.mg-graphic-types{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.mg-graphic-types button{display:grid;justify-items:center;gap:7px;padding:12px 7px;border:1px solid #dfe7e3;border-radius:12px;background:#fff;color:#607168;text-align:center;cursor:pointer}
.mg-graphic-types button.is-active{border-color:#169b57;background:#f0faf5;color:#137e49;box-shadow:0 0 0 2px rgba(22,155,87,.08)}
.mg-graphic-types i{font-size:17px}.mg-graphic-types b,.mg-graphic-types small{display:block}.mg-graphic-types b{color:#17231d;font-size:11px}.mg-graphic-types small{margin-top:2px;font-size:8px}
.mg-background-upload{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;margin-top:14px;padding:11px;border:1px solid #e1e8e4;border-radius:12px;background:#f8faf9}
.mg-background-upload>div span,.mg-background-upload>div small{display:block}
.mg-background-upload>div span{font-size:11px;font-weight:850}
.mg-background-upload>div small{margin-top:2px;color:#7a8981;font-size:9px}
.mg-background-upload label{display:inline-flex;align-items:center;gap:7px;padding:8px 10px;border:1px solid #d5ded9;border-radius:9px;background:#fff;font-size:10px;font-weight:800;cursor:pointer}
.mg-background-upload label i{color:#169b57}
.mg-background-upload input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.mg-background-upload>button{grid-column:2;border:0;background:transparent;color:#a14545;font-size:9px;font-weight:800;cursor:pointer}
.mg-auto-colors{display:flex;align-items:center;gap:10px;width:100%;margin-top:14px;padding:11px 13px;border:1px solid #b9dcca;border-radius:11px;background:#f2faf6;color:#126f43;text-align:left;cursor:pointer}
.mg-auto-colors>i{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#dff3e8}.mg-auto-colors b,.mg-auto-colors small{display:block}.mg-auto-colors b{font-size:11px}.mg-auto-colors small{margin-top:2px;color:#718078;font-size:9px}.mg-auto-colors.is-loading{opacity:.65;pointer-events:none}
.mg-content-toggles{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mg-content-toggles label{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 11px;border:1px solid #e0e7e3;border-radius:10px;background:#fafcfb;font-size:10px;font-weight:800;cursor:pointer}.mg-content-toggles input{appearance:none;position:relative;width:32px;height:18px;margin:0;border-radius:999px;background:#cad4cf;transition:.15s}.mg-content-toggles input:after{content:"";position:absolute;top:3px;left:3px;width:12px;height:12px;border-radius:50%;background:#fff;transition:.15s}.mg-content-toggles input:checked{background:#169b57}.mg-content-toggles input:checked:after{transform:translateX(14px)}
.mg-format-icon.is-feed{width:20px;height:25px}.mg-format-icon.is-landscape{width:29px;height:16px}
.mg-heading-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.mg-heading-chips button{padding:6px 8px;border:1px solid #dce5e0;border-radius:999px;background:#fff;color:#56675e;font-size:8px;font-weight:850;cursor:pointer}.mg-heading-chips button:hover{border-color:#169b57;color:#137e49}
.mg-randomize{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:42px;margin-top:13px;border:1px dashed #aabbb2;border-radius:11px;background:#fff;color:#42544a;font-size:10px;font-weight:850;cursor:pointer}.mg-randomize:hover{border-color:#169b57;color:#137e49;background:#f5fbf8}
.mg-result.is-nearest:after{content:attr(data-list-label)}.mg-result-v2{grid-template-columns:46px 46px minmax(0,1fr) 26px}.mg-result-v2 .mg-rival-crest{display:grid;place-items:center;width:42px;height:42px;border-radius:9px;background:#fff;border:1px solid #e1e8e4}.mg-result-v2 .mg-rival-crest img{width:34px;height:34px;object-fit:contain}.mg-result-v2 .mg-match-role{display:inline-block;width:auto;margin-top:3px;padding:2px 5px;border-radius:4px;background:#eaf6ef;color:#147e49;font-size:8px;font-style:normal;font-weight:900}.mg-result-v2.is-away .mg-match-role{background:#eef1f5;color:#596675}.mg-result-v2 .mg-result-score{display:inline-block;margin-left:5px;padding:2px 7px;border-radius:5px;background:#17231d;color:#fff;font-size:10px;font-weight:950;letter-spacing:.04em}
@media(max-width:560px){.mg-background-upload{grid-template-columns:1fr}.mg-background-upload label{justify-content:center}.mg-background-upload>button{grid-column:1}.mg-graphic-types{grid-template-columns:1fr}.mg-graphic-types button{grid-template-columns:24px 1fr;justify-items:start;align-items:center;text-align:left}.mg-graphic-types button>i{grid-row:1}.mg-graphic-types button>span{grid-column:2}.mg-content-toggles{grid-template-columns:1fr 1fr}.mg-result-v2{grid-template-columns:41px 40px minmax(0,1fr) 18px;gap:7px;padding:8px}.mg-result-v2 .mg-rival-crest{width:38px;height:38px}.mg-result-v2 .mg-rival-crest img{width:30px;height:30px}}
@media(max-width:370px){.mg-content-toggles{grid-template-columns:1fr}.mg-result-v2{grid-template-columns:39px 36px minmax(0,1fr) 14px}.mg-result-v2 .mg-rival-crest{width:34px;height:34px}.mg-result-v2 .mg-rival-crest img{width:27px;height:27px}}
