.mtp-entry{appearance:none;border:1px solid #d7b65a;border-radius:10px;background:#192d48;color:#ffe092;padding:9px 12px;min-height:44px;font-family:inherit;font-weight:700;font-size:13px;line-height:1.3;cursor:pointer;white-space:nowrap}.zd-period-market .p-head-actions.mtp-has-entry{flex-wrap:wrap;max-width:100%}
.mtp-entry:hover{background:#233d5a}.mtp-entry:focus-visible,.mtp-overlay button:focus-visible,.mtp-overlay a:focus-visible{outline:3px solid #ffd268;outline-offset:3px}
.mtp-overlay[hidden]{display:none!important}.mtp-overlay{position:fixed;inset:0;z-index:2147482300;display:flex;align-items:center;justify-content:center;background:rgba(3,11,22,.78);padding:18px;padding-bottom:max(18px,env(safe-area-inset-bottom));box-sizing:border-box;overscroll-behavior:contain;color:#eff5ff;font-family:-apple-system,BlinkMacSystemFont,"Microsoft YaHei",sans-serif}
.mtp-overlay *{box-sizing:border-box}.mtp-panel{width:min(980px,100%);max-height:calc(100dvh - 36px);overflow:auto;overscroll-behavior:contain;background:#11243a;border:1px solid #947d47;border-radius:18px;padding:22px;box-shadow:0 20px 90px #0009;scrollbar-gutter:stable}
.mtp-head{display:flex;gap:16px;align-items:center;justify-content:space-between}.mtp-head h2{margin:0;color:#ffe194;font-size:24px;line-height:1.35}.mtp-overlay button{appearance:none;cursor:pointer;min-height:44px;font-family:inherit;font-weight:700;font-size:14px;line-height:1.4;border-radius:10px;padding:10px 16px}.mtp-overlay button:disabled{cursor:wait;opacity:.6}.mtp-close,.mtp-secondary{border:1px solid #64819b;background:#1c3852;color:#eff7ff}.mtp-close{white-space:nowrap}.mtp-primary{border:1px solid #efcb6e;background:#f3d27d;color:#14253a}
.mtp-intro,.mtp-note{font-size:13px;line-height:1.7;color:#c5d4e4;margin:12px 0 16px}.mtp-games{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mtp-game{padding:16px;border:1px solid #47617d;border-radius:12px;background:#192f48}.mtp-game h3{margin:0 0 8px;color:#fff4d5;font-size:18px}.mtp-quota{min-height:23px;margin:0 0 12px;line-height:1.6;font-size:14px;color:#d9e6ef}.mtp-game button{width:100%}.mtp-status{min-height:24px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;color:#e4efc8;font-size:14px;margin:14px 0}.mtp-status.mtp-error{color:#ffc6bc}.mtp-actions{display:flex;gap:12px;flex-wrap:wrap}.mtp-meta{font-size:12px;line-height:1.7;color:#c6d4e4;margin:16px 0 10px;overflow-wrap:anywhere}.mtp-preview{background:#071323;border-radius:12px;overflow:hidden}.mtp-preview:empty{display:none}.mtp-preview img{display:block;width:100%;height:auto;max-width:700px;margin:auto}.mtp-note{margin-bottom:0}
@media(max-width:600px){.mtp-overlay{padding:10px;padding-bottom:max(10px,env(safe-area-inset-bottom))}.mtp-panel{max-height:calc(100dvh - 20px);padding:16px;border-radius:14px}.mtp-head h2{font-size:21px}.mtp-games{gap:8px}.mtp-game{padding:12px}.mtp-game h3{font-size:16px}.mtp-overlay button{padding:10px 12px}.mtp-actions button{flex:1}.mtp-entry{padding:9px 10px;font-size:12px}.mtp-intro{margin-bottom:12px}}
@media(prefers-reduced-motion:reduce){.mtp-overlay *{scroll-behavior:auto!important}}
