.mg{--bg:#0b0d12;--surface:#0f1117;--surface-muted:#ffffff0f;--surface-strong:#ffffff1a;--border:#ffffff1a;--border-hover:#ffffff47;--text-1:#f3f5f8;--text-2:#c9d0dc;--text-3:#a3acbb;--mg-blue:#4f7cff;--mg-green:#3ecf8e;--mg-gold:#e8c46a;max-width:1240px;color:var(--text-1);flex-direction:column;gap:22px;margin:0 auto;padding:18px 16px 96px;display:flex}.mg :is(a,button,summary):focus-visible{outline-offset:2px;outline:3px solid #8fb0ff}.mg h1,.mg h2,.mg h3{font-family:var(--font-heading,Outfit), Inter, sans-serif;letter-spacing:-.02em;color:#f3f5f8;margin:0}.mg a{text-decoration:none}.mg-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.mg-title{white-space:nowrap;font-size:26px;font-weight:800;line-height:1.1}.mg-credits{min-height:40px;font:600 12px var(--font-body,Inter), sans-serif;white-space:nowrap;background:#ffffff12;border:1px solid #ffffff1a;border-radius:999px;align-items:center;gap:8px;padding:0 12px;display:inline-flex;color:#f3f5f8!important}.mg-credits i{background:var(--mg-green);border-radius:50%;width:8px;height:8px;box-shadow:0 0 10px #3ecf8eb3}.mg-credits b{color:#6f7889}.mg-credits-get{color:#8fb0ff}.mg-credits:hover{background:#ffffff1f}.mg-btn{min-height:44px;font:600 14px var(--font-body,Inter), sans-serif;cursor:pointer;white-space:nowrap;border:0;border-radius:999px;justify-content:center;align-items:center;gap:8px;padding:0 18px;text-decoration:none;display:inline-flex}.mg-btn:disabled{opacity:.55;cursor:default}.mg-sm{min-height:40px;padding:0 14px;font-size:13px}.mg-big{min-height:52px;padding:0 28px;font-size:16px}.mg-green{background:var(--mg-green);color:#04130c!important}.mg-green:hover{filter:brightness(1.08)}.mg-primary,.mg-gold{background:linear-gradient(#f3d27a,#d9a93d);font-weight:700;color:#1a1204!important}.mg-primary:hover,.mg-gold:hover{filter:brightness(1.07)}.mg-ghost{background:#ffffff14;color:#e6e9ef!important}.mg-ghost:hover{background:#ffffff26}.mg-outline{background:0 0;border:1px solid #ffffff2e;color:#e6e9ef!important}.mg-link{min-height:44px;font:600 14px var(--font-body,Inter), sans-serif;cursor:pointer;background:0 0;border:0;align-items:center;padding:8px 0;display:inline-flex;color:#8fb0ff!important}.mg-link:hover{text-decoration:underline}.mg-link.is-bad{color:#ff8f8f!important}.mg-muted{color:var(--text-3);margin:0;font-size:13px;line-height:1.5}.mg-error{color:#ff9b9b;margin:0;font-size:13px}.mg-need{background:linear-gradient(120deg,#1a1a12,#0f1117 70%);border:1px solid #e8c46a47;border-radius:18px;flex-direction:column;gap:8px;padding:12px;display:flex}.mg-need-row,.mg-need-sub{align-items:center;gap:10px;min-width:0;display:flex}.mg-need-row p,.mg-need-sub p{color:#e6e9ef;overflow-wrap:anywhere;flex:1;min-width:0;margin:0;font-size:14px;line-height:1.35}.mg-need-sub{padding-left:20px}.mg-need-dot{background:var(--mg-gold);border-radius:50%;flex:none;width:10px;height:10px;box-shadow:0 0 10px #e8c46a99}.mg-need-row.is-building .mg-need-dot{background:var(--mg-green);box-shadow:0 0 10px #3ecf8eb3}.mg-need-row.is-draft .mg-need-dot{background:#8fb0ff;box-shadow:0 0 10px #8fb0ff99}.mg-need-group{flex-direction:column;gap:6px;display:flex}@media (prefers-reduced-motion:no-preference){.mg-need-row.is-building .mg-need-dot{animation:1.8s ease-out infinite mgPulse}}@keyframes mgPulse{0%{box-shadow:0 0 #3ecf8e99}70%{box-shadow:0 0 0 8px #3ecf8e00}to{box-shadow:0 0 #3ecf8e00}}.mg-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.mg-grid>li{min-width:0;display:flex}.mg-grid>li>article{width:100%}.mg-new a{text-align:center;background:radial-gradient(circle at 50% 30%,#3ecf8e2e,#0000 65%),#0f1117;border:2px dashed #3ecf8e80;border-radius:18px;flex-direction:column;justify-content:center;align-items:center;gap:6px;width:100%;min-height:220px;display:flex;color:#f3f5f8!important}.mg-new a:hover{border-color:var(--mg-green);background:radial-gradient(circle at 50% 30%,#3ecf8e47,#0000 65%),#0f1117}.mg-plus{background:var(--mg-green);color:#04130c;width:56px;height:56px;font:300 38px/1 var(--font-body,Inter), sans-serif;border-radius:50%;place-items:center;display:grid}.mg-new strong{font:700 17px var(--font-heading,Outfit), Inter, sans-serif;margin-top:6px}.mg-new span:last-child{color:var(--text-3);font-size:13px}.mg-grid>li[data-state=draft]{scroll-margin-top:90px}.mg-totals{background:#0f1117;border:1px solid #ffffff14;border-radius:16px;flex-wrap:wrap;align-items:center;gap:22px;padding:12px 16px;display:flex}.mg-totals div{align-items:baseline;gap:8px;display:flex}.mg-totals b{font:800 20px var(--font-heading,Outfit), Inter, sans-serif;color:#f3f5f8}.mg-totals span{color:var(--text-3);font-size:13px}.mg-totals small{color:var(--text-3);margin-left:auto;font-size:13px}.mg-next{flex-direction:column;gap:10px;display:flex}.mg-next h2{font-size:18px}.mg-next ul{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.mg-next li{background:#0f1117;border:1px solid #ffffff14;border-radius:14px;align-items:center;gap:12px;padding:10px 12px 10px 14px;display:flex}.mg-next li p{color:#c9d0dc;flex:1;min-width:0;margin:0;font-size:14px;line-height:1.4}.mg-next li b{color:#f3f5f8}.mg-other{background:#0f1117;border:1px solid #ffffff14;border-radius:16px}.mg-other>summary{cursor:pointer;min-height:52px;font:700 15px var(--font-heading,Outfit), Inter, sans-serif;justify-content:space-between;align-items:center;gap:10px;padding:0 16px;list-style:none;display:flex}.mg-other>summary::-webkit-details-marker{display:none}.mg-other>summary:after{content:"▾";color:#8fb0ff;transition:transform .15s}.mg-other[open]>summary:after{transform:rotate(180deg)}.mg-other>summary small{font:500 12px var(--font-body,Inter), sans-serif;color:var(--text-3);margin-left:auto}.mg-other-body{flex-direction:column;align-items:flex-start;gap:12px;padding:4px 16px 16px;display:flex}.mg-other-body ul{flex-direction:column;gap:8px;width:100%;margin:0;padding:0;list-style:none;display:flex}.mg-other-body li{background:#ffffff0a;border-radius:12px;align-items:center;gap:12px;padding:8px;display:flex}.mg-other-body li>div{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.mg-other-body li strong{white-space:nowrap;text-overflow:ellipsis;font-size:14px;overflow:hidden}.mg-other-body li span{color:var(--text-3);font-size:13px}.mg-other-art{background:#151821;border-radius:10px;flex:none;width:48px;height:48px;position:relative;overflow:hidden}.mg-other-art img{object-fit:cover;width:100%;height:100%;display:block}.mg-empty{text-align:center;background:radial-gradient(circle at 50% 0,#3ecf8e2e,#0000 60%),#0f1117;border:1px solid #3ecf8e4d;border-radius:22px;flex-direction:column;align-items:center;gap:12px;padding:48px 20px;display:flex}.mg-empty-art{font-size:56px;line-height:1}.mg-empty h2{font-size:26px}.mg-empty p{color:#c9d0dc;max-width:420px;margin:0;font-size:15px;line-height:1.5}.mg-manage{flex-direction:column;gap:16px;display:flex}.mg-manage h3{color:#c9d0dc;text-transform:none;font-size:14px}.mg-manage-top{align-items:center;gap:14px;display:flex}.mg-manage-top>div{flex-wrap:wrap;align-items:center;gap:6px 10px;min-width:0;display:flex}.mg-manage-top strong{font:700 18px/1.2 var(--font-heading,Outfit), Inter, sans-serif;overflow-wrap:anywhere;flex-basis:100%}.mg-manage-cover{background:#151821;border-radius:12px;flex:none;width:84px;height:64px;position:relative;overflow:hidden}.mg-manage-cover img{object-fit:cover;width:100%;height:100%;display:block}.mg-state{color:#c9d0dc;background:#ffffff14;border-radius:999px;align-items:center;height:24px;padding:0 10px;font-size:13px;font-weight:700;display:inline-flex}.mg-state.is-live{color:#8ff0c4;background:#3ecf8e24}.mg-state.is-update{color:#f1d27f;background:#e8c46a29}.mg-playing{color:#8ff0c4;align-items:center;gap:6px;font-size:13px;font-weight:600;display:inline-flex}.mg-playing i{background:var(--mg-green);border-radius:50%;width:7px;height:7px}.mg-manage-building{color:#8ff0c4;background:#3ecf8e1a;border-radius:12px;margin:0;padding:10px 12px;font-size:13px}.mg-manage-building a{color:#8fb0ff;margin-left:6px;font-weight:700}.mg-stats{grid-template-columns:repeat(3,1fr) 1.3fr;gap:8px;display:grid}.mg-stats>div{background:#ffffff0d;border-radius:12px;flex-direction:column;gap:2px;min-width:0;padding:10px;display:flex}.mg-stats b{font:800 20px var(--font-heading,Outfit), Inter, sans-serif}.mg-stats span{color:var(--text-3);font-size:13px;line-height:1.25}.mg-spark{fill:#ffffff2e;width:100%;height:30px}.mg-spark .on{fill:var(--mg-gold)}.mg-versions p{color:#c9d0dc;margin:4px 0 10px;font-size:14px}.mg-versions b{color:#f3f5f8}.mg-manage-actions{flex-wrap:wrap;gap:8px;display:flex}.mg-ads{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.mg-ads>p{color:#c9d0dc;margin:0;font-size:14px}.mg-ad-row{background:#ffffff0d;border-radius:12px;justify-content:space-between;align-items:center;gap:10px;width:100%;min-height:44px;padding:0 12px;font-size:14px;display:flex;color:#f3f5f8!important}.mg-ad-row small{color:var(--text-3);font-size:13px}.mg-more{flex-direction:column;align-items:flex-start;gap:10px;display:flex}.mg-arcade{color:#c9d0dc;flex-direction:column;gap:10px;font-size:14px;display:flex}.mg-arcade label{align-items:center;gap:10px;min-height:44px;display:flex}.mg-arcade select{color:#f3f5f8;background:#0b0d12;border:1px solid #ffffff2e;border-radius:10px;min-height:40px;padding:0 8px}.mg-danger{border-top:1px solid #ffffff14;flex-direction:column;align-items:flex-start;gap:0;padding-top:8px;display:flex}.mg-dialog{color:#f3f5f8;background:#0f1117;border:1px solid #ffffff24;border-radius:18px;max-width:min(440px,100vw - 32px);padding:20px}.mg-dialog::backdrop{background:#03040ab3}.mg-dialog h2{margin-bottom:8px;font-size:20px}.mg-dialog p{color:#c9d0dc;margin:0 0 8px;font-size:14px;line-height:1.5}.mg-dialog a{color:#8fb0ff}.mg-fine{font-size:13px!important}.mg-dialog-row{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.mg-toast{z-index:300;color:#d9ffee;background:#123d2b;border:1px solid #3ecf8e80;border-radius:14px;max-width:calc(100vw - 32px);margin:0;padding:12px 18px;font-size:14px;position:fixed;bottom:88px;left:50%;transform:translate(-50%);box-shadow:0 10px 30px #00000080}@media (min-width:760px){.mg{gap:28px;padding:28px 28px 80px}.mg-title{font-size:36px}.mg-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}@media (min-width:1100px){.mg-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (max-width:380px){.mg-stats{grid-template-columns:repeat(2,1fr)}}
