


.mpres-origin { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: -2px 0 6px; font-size: 12px; color: #8b949e; }
.mpres-av { width: 22px; height: 22px; border-radius: 7px; display: inline-grid; place-items: center; font: 700 11px 'Rajdhani', sans-serif; flex-shrink: 0; }
.mpres-who { background: none; border: 0; padding: 0 0 1px; color: #e6edf3; font: 500 12px 'Inter', sans-serif; cursor: pointer; border-bottom: 1px dashed rgba(88, 166, 255, .45); white-space: nowrap; }
.mpres-who:hover { color: #58a6ff; }
.mpres-who.off { cursor: default; border-bottom: 0; color: #c9d1d9; }
.mpres-anon { font-size: 10.5px; color: #8b949e; }
.mpres-official { font-size: 9.5px; color: #00FF94; border: 1px solid rgba(0, 255, 148, .35); border-radius: 6px; padding: 1px 5px; letter-spacing: .5px; }
.mpres-msg { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: #58a6ff; font: 500 11.5px 'Inter', sans-serif; cursor: pointer; padding: 3px 8px; border-radius: 8px; background: rgba(88, 166, 255, .08); border: 0; }
.mpres-mine { margin-left: auto; font-size: 11px; color: #00FF94; }


.mpres-tick { display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 10px; margin: 0 0 10px; border-radius: 10px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .08); cursor: pointer; overflow: hidden; position: relative; }
.mpres-tick .q { color: #00FF94; flex-shrink: 0; display: grid; }
.mpres-tick .slot { flex: 1; min-width: 0; position: relative; height: 100%; }
.mpres-tick .ln { position: absolute; inset: 0; display: flex; align-items: center; gap: 8px; opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
.mpres-tick .ln.on { opacity: 1; transform: none; }
.mpres-tick .ln.out { opacity: 0; transform: translateY(-10px); }
.mpres-tick .ln .mpres-av { width: 24px; height: 24px; }
.mpres-tick .tx2 { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.15; }
.mpres-tick .who2 { font-size: 10.5px; color: #8b949e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mpres-tick .who2 b { font-weight: 600; color: #c9d1d9; }
.mpres-tick em { font-style: normal; color: #eef3f8; font: 700 15px 'Rajdhani', sans-serif; white-space: nowrap; display: block; }
.mpres-tick em.wrap { white-space: normal; line-height: 1.05; }
.mpres-tick .dots { display: flex; gap: 3px; flex-shrink: 0; }
.mpres-tick .dots i { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.mpres-tick .dots i.on { background: #00FF94; }
@media (prefers-reduced-motion: reduce) { .mpres-tick .ln { transition: none; } }


.mpres-terr { display: flex; align-items: center; gap: 10px; border-radius: 12px; padding: 9px 11px; margin: 0 0 10px; font-size: 12px; border: 1px solid rgba(255, 255, 255, .08); color: #e6edf3; }
.mpres-terr .em { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.mpres-terr b { font-weight: 600; }
.mpres-terr .sub { display: block; color: #8b949e; font-size: 11px; margin-top: 1px; }
.mpres-terr .go { margin-left: auto; color: #58a6ff; font: 500 11.5px 'Inter', sans-serif; cursor: pointer; white-space: nowrap; background: none; border: 0; padding: 0; }
.mpres-terr .gname { background: none; border: 0; padding: 0; font: 600 12px 'Inter', sans-serif; cursor: pointer; border-bottom: 1px dashed rgba(0, 255, 148, .5); }
.mpres-terr.dominated { background: rgba(0, 255, 148, .06); border-color: rgba(0, 255, 148, .22); }
.mpres-terr.mine { background: rgba(0, 255, 148, .10); border-color: rgba(0, 255, 148, .45); }
.mpres-terr.contested { background: rgba(227, 179, 65, .07); border-color: rgba(227, 179, 65, .3); }
.mpres-terr.free { background: rgba(255, 255, 255, .03); }

.mpres-det-link { cursor: pointer; color: #58a6ff; font-size: 12.5px; display: inline-flex; align-items: center; justify-content: center; gap: 5px; flex: 1; background: none; border: 0; font-family: 'Inter', sans-serif; }
.mission-title[data-mpres-open] { cursor: pointer; }
.mission-card.mpres-flash { box-shadow: 0 0 0 2px rgba(0, 255, 148, .55), 0 0 26px rgba(0, 255, 148, .25); transition: box-shadow .3s; }


.mpres-detail { position: fixed; inset: 0; z-index: 9500; background: radial-gradient(circle at top, #131820, #05070a); display: flex; flex-direction: column; color: #e6edf3; font-family: 'Inter', sans-serif; }
.mpres-detail[hidden] { display: none; }

.mpres-detail > .mpres-dt-bar, .mpres-detail > .mpres-dt-body, .mpres-detail > .mpres-dt-foot { width: 100%; max-width: 480px; margin-left: auto; margin-right: auto; }
.mpres-sheet { max-width: 480px; }
.mpres-dt-bar { display: flex; align-items: center; gap: 10px; padding: calc(12px + env(safe-area-inset-top, 0px)) 14px 12px; border-bottom: 1px solid rgba(255, 255, 255, .08); background: rgba(13, 18, 25, .92); }
.mpres-bk { width: 36px; height: 36px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .1); display: grid; place-items: center; cursor: pointer; color: #e6edf3; background: transparent; }
.mpres-dt-bar b { font: 700 16px 'Rajdhani', sans-serif; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mpres-dt-body { flex: 1; overflow-y: auto; padding: 0 16px 18px; -webkit-overflow-scrolling: touch; }
.mpres-cover { height: 160px; margin: 0 -16px 14px; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, rgba(0, 255, 148, .18), transparent 60%), linear-gradient(135deg, #0f2a1f, #0d1219 70%); background-size: cover; background-position: center; }
.mpres-cover .cic { width: 58px; height: 58px; border-radius: 18px; border: 1px solid rgba(0, 255, 148, .35); display: grid; place-items: center; color: #00FF94; background: rgba(0, 0, 0, .25); }
.mpres-cat { font-size: 11px; letter-spacing: 1.5px; color: #58a6ff; text-transform: uppercase; }
.mpres-title { font: 700 24px 'Rajdhani', sans-serif; margin: 3px 0 10px; line-height: 1.1; }
.mpres-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.mpres-chips span { font-size: 11.5px; padding: 5px 10px; border-radius: 9px; background: rgba(255, 255, 255, .05); color: #c9d1d9; border: 1px solid rgba(255, 255, 255, .08); }
.mpres-chips .en { color: #00FF94; border-color: rgba(0, 255, 148, .3); font: 700 13px 'Rajdhani', sans-serif; }
.mpres-chips .xp { color: #58a6ff; border-color: rgba(88, 166, 255, .3); font: 700 13px 'Rajdhani', sans-serif; }
.mpres-sec { margin-top: 18px; }
.mpres-sec h3 { font: 700 15px 'Rajdhani', sans-serif; letter-spacing: .3px; margin: 0 0 8px; display: flex; align-items: center; gap: 8px; color: #e6edf3; }
.mpres-sec h3 small { font: 400 11px 'Inter', sans-serif; color: #8b949e; margin-left: auto; }
.mpres-text { font-size: 13px; color: #c9d1d9; line-height: 1.6; white-space: pre-line; }
.mpres-pres { background: rgba(22, 27, 34, .75); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; overflow: hidden; }
.mpres-pres .row { display: flex; align-items: center; gap: 10px; padding: 11px 12px; font-size: 12.5px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mpres-pres .row:last-child { border-bottom: 0; }
.mpres-pres .lb { color: #8b949e; font-size: 11px; display: block; }
.mpres-pres .rt { margin-left: auto; color: #58a6ff; font: 500 11.5px 'Inter', sans-serif; cursor: pointer; white-space: nowrap; background: none; border: 0; padding: 0; }
.mpres-where { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; color: #8b949e; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); border-radius: 12px; padding: 10px 12px; }
.mpres-where a { color: #58a6ff; text-decoration: none; white-space: nowrap; }
.mpres-spon { display: flex; gap: 12px; align-items: center; background: rgba(255, 209, 102, .05); border: 1px solid rgba(255, 209, 102, .22); border-radius: 14px; padding: 12px; }
.mpres-spon img { width: 46px; height: 46px; border-radius: 11px; background: #fff; object-fit: contain; padding: 4px; }
.mpres-spon b { font: 700 15px 'Rajdhani', sans-serif; display: block; }
.mpres-spon .of { color: #00FF94; font-size: 12px; }
.mpres-dt-foot { padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(13, 18, 25, .95); }
.mpres-dt-foot .mine { display: flex; justify-content: space-between; font-size: 11.5px; color: #8b949e; margin-bottom: 8px; }
.mpres-dt-foot .mine b { color: #e6edf3; font-weight: 500; }
.mpres-cta { display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; border: 0; border-radius: 12px; padding: 14px; background: #00FF94; color: #04110b; font: 700 15px 'Rajdhani', sans-serif; letter-spacing: 1px; box-shadow: 0 0 22px rgba(0, 255, 148, .25); cursor: pointer; }
.mpres-loading { color: #8b949e; font-size: 12.5px; padding: 14px 0; text-align: center; }


.mpres-chat { background: rgba(0, 0, 0, .2); border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px; padding: 10px 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.mpres-chat .older { text-align: center; color: #58a6ff; font: 500 11.5px 'Inter', sans-serif; cursor: pointer; padding: 2px 0 4px; background: none; border: 0; }
.mpres-dsep { text-align: center; font-size: 10px; color: #8b949e; letter-spacing: 1px; text-transform: uppercase; margin: 4px 0 0; }
.mpres-mrow { display: flex; gap: 8px; align-items: flex-end; max-width: 90%; }
.mpres-mrow.me { margin-left: auto; flex-direction: row-reverse; }
.mpres-mrow .mpres-av { width: 26px; height: 26px; border-radius: 8px; }
.mpres-mwrap { display: flex; flex-direction: column; min-width: 0; }
.mpres-mrow.me .mpres-mwrap { align-items: flex-end; }
.mpres-bub { background: #141b24; border: 1px solid rgba(255, 255, 255, .08); border-radius: 14px 14px 14px 4px; padding: 7px 11px 8px; }
.mpres-mrow.me .mpres-bub { background: rgba(0, 255, 148, .10); border-color: rgba(0, 255, 148, .35); border-radius: 14px 14px 4px 14px; }
.mpres-bub .nm { font-size: 10.5px; color: #8b949e; margin-bottom: 2px; display: flex; gap: 6px; align-items: center; }
.mpres-bub .tx { font-size: 13px; color: #e6edf3; }
.mpres-bub.imp .tx { font: 700 16.5px 'Rajdhani', sans-serif; letter-spacing: .2px; line-height: 1.2; }
.mpres-bub .rq { font-size: 11px; color: #8b949e; border-left: 2px solid #58a6ff; padding-left: 7px; margin: 2px 0 4px; }
.mpres-bub .tg { font-size: 8.5px; letter-spacing: .9px; text-transform: uppercase; font-weight: 600; }
.mpres-bub .tg.imp { color: #00FF94; }
.mpres-bub .tg.tip { color: #58a6ff; }
.mpres-mact { font: 500 10.5px 'Inter', sans-serif; color: #58a6ff; cursor: pointer; margin-top: 3px; padding: 0 4px; background: none; border: 0; }
.mpres-mact.done { color: #8b949e; cursor: default; }
.mpres-mact.del { color: #f85149; }
.mpres-empty { text-align: center; color: #8b949e; font-size: 12.5px; padding: 14px; border: 1px dashed rgba(255, 255, 255, .1); border-radius: 12px; }
.mpres-note { font-size: 11.5px; color: #8b949e; background: rgba(88, 166, 255, .05); border: 1px solid rgba(88, 166, 255, .14); border-radius: 10px; padding: 8px 10px; line-height: 1.45; display: flex; gap: 8px; margin-top: 10px; }
.mpres-lock { border-radius: 12px; padding: 11px 12px; margin-top: 10px; font-size: 12.5px; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); color: #8b949e; }
.mpres-composer { margin-top: 10px; border: 1px solid rgba(0, 255, 148, .25); background: rgba(0, 255, 148, .04); border-radius: 14px; padding: 10px; }
.mpres-ctabs { display: flex; gap: 6px; margin-bottom: 8px; align-items: center; }
.mpres-ctabs button { font: 500 11.5px 'Inter', sans-serif; padding: 5px 10px; border-radius: 8px; color: #8b949e; cursor: pointer; border: 1px solid transparent; background: none; }
.mpres-ctabs button.on { color: #00FF94; border-color: rgba(0, 255, 148, .35); background: rgba(0, 255, 148, .07); }
.mpres-ctabs small { margin-left: auto; font-size: 10.5px; color: #8b949e; }
.mpres-crow { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.mpres-cp { flex-shrink: 0; font: 400 12.5px 'Inter', sans-serif; padding: 8px 11px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .04); cursor: pointer; color: #e6edf3; white-space: nowrap; }
.mpres-cp.imp { font: 600 14px 'Rajdhani', sans-serif; }
.mpres-cp.sel { border-color: #00FF94; background: rgba(0, 255, 148, .14); color: #00FF94; }
.mpres-csend { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.mpres-csend .pv { flex: 1; font-size: 12px; color: #8b949e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mpres-csend .pv b { color: #e6edf3; font-weight: 600; }
.mpres-as { font-size: 11px; color: #8b949e; margin-top: 8px; }
.mpres-as b { color: #c9d1d9; font-weight: 600; }
.mpres-go { background: #00FF94; color: #04110b; font: 700 13px 'Rajdhani', sans-serif; letter-spacing: .5px; padding: 9px 16px; border-radius: 10px; cursor: pointer; border: 0; }
.mpres-go:disabled { opacity: .35; cursor: default; }
.mpres-prob { display: inline-flex; gap: 5px; align-items: center; color: #8b949e; font: 400 11.5px 'Inter', sans-serif; margin-top: 10px; cursor: pointer; background: none; border: 0; padding: 0; }
.mpres-prob:hover { color: #e3b341; }


.mpres-sheetwrap { position: fixed; inset: 0; z-index: 9600; }
.mpres-sheetwrap[hidden] { display: none; }
.mpres-shade { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.mpres-sheet { position: absolute; left: 0; right: 0; bottom: 0; max-width: 520px; margin: 0 auto; background: #0f141b; border-top: 1px solid rgba(255, 255, 255, .08); border-radius: 20px 20px 0 0; padding: 10px 18px calc(20px + env(safe-area-inset-bottom, 0px)); color: #e6edf3; font-family: 'Inter', sans-serif; }
.mpres-grab { width: 40px; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .18); margin: 0 auto 14px; }
.mpres-sheet h4 { font: 700 17px 'Rajdhani', sans-serif; margin: 0 0 3px; }
.mpres-sheet p { font-size: 12px; color: #8b949e; margin: 0 0 12px; }
.mpres-shead { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.mpres-shead .big { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font: 700 22px 'Rajdhani', sans-serif; }
.mpres-shead b { font: 700 19px 'Rajdhani', sans-serif; display: block; }
.mpres-shead small { color: #8b949e; font-size: 12px; }
.mpres-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.mpres-facts div { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); border-radius: 11px; padding: 9px; text-align: center; }
.mpres-facts b { font: 700 18px 'Rajdhani', sans-serif; display: block; }
.mpres-facts small { font-size: 10px; color: #8b949e; }
.mpres-opts { display: flex; flex-wrap: wrap; gap: 7px; }
.mpres-opt { font: 400 12.5px 'Inter', sans-serif; padding: 8px 11px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .04); cursor: pointer; color: #e6edf3; }
.mpres-opt.sel { border-color: #00FF94; background: rgba(0, 255, 148, .12); color: #00FF94; }
.mpres-opt.pr.sel { border-color: #e3b341; background: rgba(227, 179, 65, .12); color: #e3b341; }
.mpres-sbtn { display: flex; gap: 8px; margin-top: 14px; }
.mpres-sbtn button { flex: 1; text-align: center; padding: 12px; border-radius: 11px; font: 700 13.5px 'Rajdhani', sans-serif; letter-spacing: .5px; cursor: pointer; border: 0; }
.mpres-sbtn .p { background: #00FF94; color: #04110b; }
.mpres-sbtn .p.warn { background: #e3b341; }
.mpres-sbtn .p:disabled { opacity: .35; cursor: default; }
.mpres-sbtn .s { border: 1px solid rgba(88, 166, 255, .45); color: #58a6ff; background: transparent; }
.mpres-later { display: block; width: 100%; text-align: center; color: #8b949e; font: 400 12px 'Inter', sans-serif; margin-top: 10px; cursor: pointer; background: none; border: 0; }
