/* 美美滿版奇遇 2.1.0 · native dialog top layer；演出全屏，offer 留獨立控制區。 */
.mm-cinema,.mm-cinema *{box-sizing:border-box}
.mm-cinema[hidden],.mm-cinema [hidden]{display:none!important}
.mm-cinema-progress[hidden]{display:none!important}
.mm-cinema{position:fixed;inset:0;margin:0;border:0;padding:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;overflow:hidden;color:#fff0d7;background:#100d18;font-family:inherit;isolation:isolate;z-index:2147483647;overscroll-behavior:contain}
.mm-cinema::backdrop{background:#100d18}
.mm-cinema-content{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;width:100%;height:100%;min-height:0;overflow:hidden}
.mm-cinema-canvas{display:block;grid-column:1;grid-row:1;width:100%;height:100%;min-width:0;min-height:0;pointer-events:none}
.mm-cinema-heading{position:absolute;z-index:3;top:max(12px,env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;pointer-events:none}
.mm-cinema-heading h2{font-family:inherit;font-size:13px;font-weight:800;line-height:1.35;color:#fff0d7;max-width:62%;min-width:0;margin:0;text-align:right;text-shadow:0 1px 3px #000;overflow-wrap:anywhere}
.mm-cinema-heading button{pointer-events:auto;flex:0 0 auto;font:inherit;font-size:13px;font-weight:800;line-height:1.25;color:#fff0d7;background:#100b18cc;border:1px solid #bd977b;border-radius:999px;min-height:44px;padding:9px 14px;cursor:pointer}
.mm-cinema-sr-only{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}
.mm-cinema-loading{grid-column:1;grid-row:1;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:0;padding:76px 24px 24px;text-align:center;background:radial-gradient(ellipse at 50% 44%,#583329,#211524 72%);overflow:auto}
.mm-cinema-loading p{font-size:clamp(22px,5vw,34px);font-weight:900;line-height:1.4;margin:0;color:#fff0cf}
.mm-cinema-loading span{font-size:14px;line-height:1.6;color:#ead7c1}
.mm-cinema-footer{position:relative;z-index:4;grid-column:1;grid-row:2;align-self:end;width:min(660px,calc(100% - 24px));margin:0 auto max(12px,env(safe-area-inset-bottom));padding:10px 14px;border:1px solid #b58a60;border-radius:20px;background:#17101ef5;color:#fff0d7;text-align:center;max-height:48vh;max-height:48dvh;overflow:auto;overscroll-behavior:contain}
.mm-cinema-final{font-size:15px;font-weight:800;line-height:1.4;margin:0 0 6px;color:#fff0d7}
.mm-cinema-invitation{font-size:14px;line-height:1.4;margin:0 0 8px;color:#fff0d7}
.mm-cinema-actions{display:flex;gap:8px;align-items:center;justify-content:center;flex-wrap:wrap}
.mm-cinema-actions button{font:inherit;font-size:15px;font-weight:800;line-height:1.25;color:#fff0d7;background:#2d202a;border:1px solid #b58a60;border-radius:999px;padding:11px 18px;min-height:44px;min-width:120px;cursor:pointer}
.mm-cinema-actions [data-cinema-challenge]{background:#ffc56b;color:#3d251b;border-color:#ffc56b}
.mm-cinema button:focus-visible{outline:3px solid #ffd088;outline-offset:3px}
.mm-cinema-note{font-size:11px;line-height:1.35;margin:7px 0 0;color:#dfcaba}
.mm-cinema-progress{display:inline-block;border:1px solid #c39c76;border-radius:999px;padding:5px 10px;font-size:12px;line-height:1.4;background:#fff4dc;color:#5d4035;font-weight:800}
.mm-cinema-progress[data-status=complete]{background:#e0f2df;color:#335945}
@media(max-width:400px){.mm-cinema-heading{gap:8px}.mm-cinema-heading h2{max-width:58%;font-size:12px}.mm-cinema-footer{padding:9px 10px}.mm-cinema-actions button{min-width:112px;padding:10px 15px}.mm-cinema-invitation{font-size:13px}}
@media(max-height:450px) and (min-width:600px){.mm-cinema-footer{display:flex;align-items:center;justify-content:center;gap:12px;padding:8px 12px;margin-bottom:max(8px,env(safe-area-inset-bottom));width:min(760px,calc(100% - 24px))}.mm-cinema-invitation,.mm-cinema-final{font-size:13px;margin:0;flex:0 1 220px}.mm-cinema-actions{flex-wrap:nowrap}.mm-cinema-actions button{min-width:108px;padding:9px 14px}.mm-cinema-note{font-size:10px;margin:0}.mm-cinema-loading{padding-top:60px}}
@media(prefers-reduced-motion:reduce){.mm-cinema *{animation:none!important;transition:none!important}}
