/* Major Games v1.1.1 */
html.mmcc-game-open { overflow:hidden; }
.mmcc-game-overlay { position:fixed; z-index:2147483350; inset:0; display:grid; place-items:center; padding:18px; background:rgba(18,24,12,.82); backdrop-filter:blur(4px); font-family:Arial,sans-serif; }
.mmcc-game-shell { width:min(920px,100%); max-height:min(94vh,800px); overflow:auto; border:4px solid #232D0B; border-radius:16px; background:#F6F0E3; box-shadow:0 24px 65px rgba(0,0,0,.45); }
.mmcc-game-head { position:relative; display:flex; justify-content:space-between; gap:15px; padding:20px 64px 18px 22px; border-bottom:5px solid #F0C83A; background:#F6F0E3; color:#232D0B; box-shadow:inset 0 -1px 0 #232D0B; }
.mmcc-game-kicker { display:none; }
.mmcc-game-head h2 { margin:0; color:#35420F; font:900 clamp(27px,5vw,39px)/1 "Bitter",Georgia,serif; letter-spacing:-.015em; }
.mmcc-game-head p { max-width:760px; margin:9px 0 0; color:#232D0B; font:800 clamp(15px,2.2vw,18px)/1.4 Arial,sans-serif; transition:color .15s ease; }
.mmcc-game-head p.is-error { color:#A13E35; }
.mmcc-game-head p.is-success { color:#35420F; }
.mmcc-game-close { position:absolute; top:14px; right:14px; width:40px; height:40px; border:3px solid #232D0B; border-radius:50%; background:#F0C83A; color:#232D0B; box-shadow:2px 3px 0 rgba(35,45,11,.22); font:900 27px/32px Arial,sans-serif; cursor:pointer; }
.mmcc-game-close:hover,.mmcc-game-close:focus-visible { transform:translateY(-1px); box-shadow:3px 4px 0 rgba(35,45,11,.24); }
.mmcc-game-stage { position:relative; min-height:420px; padding:18px; }
.mmcc-game-result { position:absolute; z-index:10000; inset:0; display:grid; place-content:center; text-align:center; padding:28px; background:rgba(246,240,227,.97); }
.mmcc-game-result h3 { margin:0 0 10px; color:#232D0B; font:900 clamp(25px,6vw,38px)/1 Georgia,serif; }
.mmcc-game-result p { max-width:560px; margin:0 auto; font:700 16px/1.4 Arial,sans-serif; }
.mmcc-game-result-actions { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-top:20px; }
.mmcc-game-btn { min-height:44px; padding:10px 17px; border:3px solid #232D0B; border-radius:9px; background:#fff; color:#232D0B; box-shadow:3px 4px 0 rgba(0,0,0,.18); font:800 14px/1 Arial,sans-serif; cursor:pointer; }
.mmcc-game-btn.is-primary { background:#F0C83A; }


/* Dedicated game pages */
.mmcc-game-page { width:min(1180px,100%); margin:0 auto; font-family:Arial,sans-serif; color:#171717; }
.mmcc-game-page-nav { margin:0 0 18px; }
.mmcc-game-page-nav a { display:inline-flex; align-items:center; gap:6px; color:#35420F; font:800 15px/1.2 Arial,sans-serif; text-decoration:none; }
.mmcc-game-page-nav a:hover,.mmcc-game-page-nav a:focus { color:#A13E35; text-decoration:underline; text-underline-offset:3px; }
.mmcc-game-inline-mount { width:100%; }
.mmcc-game-shell--inline { width:100%; max-height:none; overflow:visible; border:0; border-radius:0; background:transparent; box-shadow:none; }
.mmcc-game-shell--inline .mmcc-game-head { position:relative; display:block; margin:0 0 14px; padding:0 0 18px; border:0; border-bottom:4px solid #F0C83A; background:transparent; box-shadow:none; color:#232D0B; }
.mmcc-game-shell--inline .mmcc-game-head h2 { margin:0; color:#35420F; font:900 clamp(32px,5vw,48px)/1 "Bitter",Georgia,serif; letter-spacing:-.015em; }
.mmcc-game-shell--inline .mmcc-game-head p { max-width:960px; margin:10px 0 0; color:#232D0B; font:700 clamp(18px,2.2vw,22px)/1.45 Arial,sans-serif; }
.mmcc-game-shell--inline .mmcc-game-stage { min-height:420px; padding:8px 0 0; }
.mmcc-game-shell--inline .mmcc-find-wrap { max-width:1100px; }
.mmcc-game-shell--inline .mmcc-find-viewport { max-height:min(74vh,760px); }
.mmcc-game-disabled { max-width:900px; margin:0 auto; padding:18px 20px; border:2px solid #A13E35; border-radius:10px; background:#fff5f3; color:#7d2e28; font:700 16px/1.4 Arial,sans-serif; }

/* Morale Meter Emergency */
.mmcc-meter-game { max-width:780px; margin:0 auto; }
.mmcc-meter-status { display:grid; grid-template-columns:1fr auto auto; gap:16px; align-items:center; color:#232D0B; font:800 16px/1 Arial,sans-serif; }
.mmcc-meter-track { height:34px; margin:10px 0 8px; overflow:hidden; border:4px solid #232D0B; border-radius:18px; background:#ddd5c2; box-shadow:inset 0 3px 7px rgba(0,0,0,.15); }
.mmcc-meter-track span { display:block; width:0; height:100%; background:linear-gradient(90deg,#7e8b66,#F0C83A); transition:width .15s ease; }
.mmcc-meter-track span.is-low { background:linear-gradient(90deg,#A13E35,#d08a6b); }
.mmcc-meter-legend { display:flex; justify-content:center; gap:18px; margin:0 0 10px; font:900 11px/1 Arial,sans-serif; letter-spacing:.04em; }
.mmcc-meter-legend .is-good { color:#35420F; }
.mmcc-meter-legend .is-bad { color:#A13E35; }
.mmcc-meter-field { position:relative; height:min(54vh,430px); min-height:330px; overflow:hidden; border:4px solid #35420F; border-radius:14px; background:radial-gradient(circle at 20% 15%,#fff 0 2%,transparent 3%),#e9e0cd; }
.mmcc-meter-token { position:absolute; display:grid; place-items:center; padding:6px; border:3px solid #232D0B; border-radius:16px; background:#F0C83A; color:#232D0B; box-shadow:3px 4px 0 rgba(0,0,0,.2); font:900 13px/1.05 Arial,sans-serif; text-align:center; cursor:pointer; touch-action:manipulation; overflow:hidden; }
.mmcc-meter-token.is-bad { background:#f0d6d0; border-color:#7d2e28; color:#7d2e28; }
.mmcc-meter-token img { display:block; width:100%; height:100%; object-fit:contain; pointer-events:none; }
.mmcc-meter-token > span { padding:4px; pointer-events:none; }
.mmcc-meter-token > b { position:absolute; right:3px; top:3px; display:grid; place-items:center; width:22px; height:22px; border:2px solid #232D0B; border-radius:50%; background:#fff; font-size:15px; line-height:1; }
.mmcc-meter-token.is-bad > b { border-color:#7d2e28; color:#A13E35; }
.mmcc-meter-token.is-hit { animation:mmccTokenHit .25s ease; }
@keyframes mmccTokenHit { 50% { transform:scale(1.18) rotate(4deg)!important; } }

/* Morale Drop */
.mmcc-dodge-wrap { text-align:center; }
.mmcc-dodge-canvas { display:block; width:auto; max-width:100%; height:auto; max-height:61vh; margin:0 auto; border:4px solid #35420F; border-radius:14px; background:#e9e0cd; touch-action:none; }

/* Where's Major? */
.mmcc-find-wrap { max-width:900px; margin:0 auto; }
.mmcc-find-status { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:10px; color:#232D0B; font:800 14px/1.2 Arial,sans-serif; }
.mmcc-find-scene-meta { display:flex; flex-direction:column; gap:3px; min-width:0; }
.mmcc-find-scene-meta span { font-weight:700; color:#5e613f; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mmcc-find-zoom { display:flex; align-items:center; gap:5px; flex:0 0 auto; }
.mmcc-find-zoom button { min-width:38px; height:36px; padding:0 9px; border:2px solid #232D0B; border-radius:8px; background:#fff; color:#232D0B; box-shadow:2px 2px 0 rgba(35,45,11,.16); font:900 20px/1 Arial,sans-serif; cursor:pointer; }
.mmcc-find-zoom button:hover,.mmcc-find-zoom button:focus-visible { background:#F0C83A; }
.mmcc-find-zoom button:disabled { opacity:.38; cursor:default; background:#eee8da; box-shadow:none; }
.mmcc-find-zoom .mmcc-find-zoom__level { min-width:66px; font-size:13px; }
.mmcc-find-viewport { width:100%; max-height:min(62vh,610px); overflow:auto; overscroll-behavior:contain; border-radius:14px; background:#d8cfbd; scrollbar-gutter:stable; -webkit-overflow-scrolling:touch; }
.mmcc-find-scene { position:relative; width:100%; min-width:100%; box-sizing:border-box; overflow:hidden; border:4px solid #35420F; border-radius:14px; background:#e9e0cd; cursor:crosshair; }
.mmcc-find-scene svg,.mmcc-find-scene > img { display:block; width:100%; height:auto; }
.mmcc-find-scene.is-found { box-shadow:0 0 0 6px #F0C83A inset; }
.mmcc-find-scene.is-wrong { animation:mmccFindWrongFlash .38s ease; }
.mmcc-find-mark { position:absolute; width:30px; height:30px; margin:-15px 0 0 -15px; border:4px solid #A13E35; border-radius:50%; pointer-events:none; animation:mmccFindMark .65s ease-out forwards; }
.mmcc-find-mark::before,.mmcc-find-mark::after { content:''; position:absolute; left:50%; top:50%; width:18px; height:4px; margin:-2px 0 0 -9px; border-radius:999px; background:#c62828; box-shadow:0 0 8px rgba(255,255,255,.35); opacity:0; }
.mmcc-find-mark.is-miss::before,.mmcc-find-mark.is-miss::after { opacity:1; }
.mmcc-find-mark.is-miss::before { transform:rotate(45deg); }
.mmcc-find-mark.is-miss::after { transform:rotate(-45deg); }
.mmcc-find-mark.is-hit { border-color:#35420F; box-shadow:0 0 0 8px rgba(240,200,58,.65); }
.mmcc-find-mark.is-hit::before,.mmcc-find-mark.is-hit::after { display:none; }
.mmcc-find-confirm { position:absolute; inset:0; z-index:8; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; pointer-events:none; background:rgba(35,45,11,.12); animation:mmccFindConfirmBg 1.25s ease both; }
.mmcc-find-confirm strong { display:block; padding:9px 18px 8px; border:4px solid #232D0B; border-radius:10px; background:#F0C83A; color:#232D0B; box-shadow:0 5px 0 rgba(35,45,11,.34),0 0 0 5px rgba(255,255,255,.72); font:900 clamp(22px,5vw,42px)/1 Arial,sans-serif; letter-spacing:.03em; transform:rotate(-2deg); animation:mmccFindConfirmText .5s cubic-bezier(.2,.9,.25,1.3) both; }
.mmcc-find-confirm__check { display:grid; place-items:center; width:76px; height:76px; border:5px solid #fff; border-radius:50%; background:#35420F; color:#fff; box-shadow:0 0 0 7px rgba(240,200,58,.92),0 7px 18px rgba(0,0,0,.3); font:900 50px/1 Arial,sans-serif; animation:mmccFindConfirmCheck .55s cubic-bezier(.2,.9,.25,1.35) both; }
@keyframes mmccFindMark { 0%{transform:scale(.45);opacity:0} 30%{opacity:1} 100%{transform:scale(1.8);opacity:0} }
@keyframes mmccFindWrongFlash { 0%{box-shadow:0 0 0 0 rgba(198,40,40,0) inset;background-color:rgba(198,40,40,0)} 35%{box-shadow:0 0 0 6px rgba(198,40,40,.78) inset;background-color:rgba(198,40,40,.09)} 100%{box-shadow:0 0 0 0 rgba(198,40,40,0) inset;background-color:rgba(198,40,40,0)} }
@keyframes mmccFindConfirmCheck { 0%{transform:scale(.15) rotate(-14deg);opacity:0} 65%{transform:scale(1.12) rotate(3deg);opacity:1} 100%{transform:scale(1) rotate(0);opacity:1} }
@keyframes mmccFindConfirmText { 0%{transform:scale(.45) rotate(-5deg);opacity:0} 70%{transform:scale(1.08) rotate(-1deg);opacity:1} 100%{transform:scale(1) rotate(-2deg);opacity:1} }
@keyframes mmccFindConfirmBg { 0%{opacity:0} 18%{opacity:1} 82%{opacity:1} 100%{opacity:0} }

/* Mail Call — top-down draggable mail crate */
.mmcc-mail-wrap { max-width:880px; margin:0 auto; }
.mmcc-mail-status { display:flex; justify-content:space-between; gap:14px; margin:0 0 10px; color:#232D0B; font:900 14px/1.2 Arial,sans-serif; }
.mmcc-mail-crate { position:relative; width:100%; aspect-ratio:1.58/1; min-height:390px; overflow:hidden; box-sizing:border-box; border:15px solid #69472c; border-radius:15px; background:
    linear-gradient(90deg,rgba(255,255,255,.08),transparent 18%,rgba(0,0,0,.05) 45%,transparent 70%),
    repeating-linear-gradient(90deg,#aa7a4e 0 13%,#8f633d 13% 15%,#b28256 15% 29%,#805634 29% 31%);
    box-shadow:inset 0 0 0 6px rgba(72,45,25,.32),inset 0 18px 32px rgba(0,0,0,.18),0 5px 0 #3f2a1c; touch-action:none; }
.mmcc-mail-crate::before,.mmcc-mail-crate::after { content:""; position:absolute; z-index:1; pointer-events:none; left:0; right:0; height:9px; background:rgba(66,41,23,.42); }
.mmcc-mail-crate::before { top:21%; }
.mmcc-mail-crate::after { bottom:23%; }
.mmcc-mail-piece { position:absolute; display:block; height:auto; margin:0; padding:0; overflow:hidden; border:2px solid #44372b; border-radius:5px; background:#f3ead8; color:#35420F; box-shadow:3px 5px 7px rgba(0,0,0,.28); transform-origin:center center; cursor:grab; user-select:none; -webkit-user-select:none; touch-action:none; transition:box-shadow .12s ease,filter .12s ease; }
.mmcc-mail-piece.is-dragging { cursor:grabbing; box-shadow:7px 10px 18px rgba(0,0,0,.38); filter:brightness(1.04); }
.mmcc-mail-piece img { display:block; width:100%; height:auto; pointer-events:none; }
.mmcc-mail-piece.has-image { border:0; border-radius:0; background:transparent; }
.mmcc-mail-piece.is-major.has-image { border:0; background:transparent; }
.mmcc-mail-piece strong,.mmcc-mail-piece small { position:absolute; z-index:3; left:7%; right:7%; text-align:center; pointer-events:none; }
.mmcc-mail-piece strong { top:42%; font:900 clamp(8px,1.6vw,14px)/1 Arial,sans-serif; }
.mmcc-mail-piece small { top:61%; font:800 clamp(6px,1vw,9px)/1 Arial,sans-serif; color:#8a3730; }
.mmcc-mail-fallback-flap { position:absolute; z-index:1; left:0; right:0; top:0; height:54%; clip-path:polygon(0 0,50% 100%,100% 0); background:#e0d2b9; border-bottom:2px solid rgba(68,55,43,.3); pointer-events:none; }
.mmcc-mail-fallback-stamp { position:absolute; z-index:2; right:7%; top:9%; width:17%; aspect-ratio:1.25/1; border:2px dashed #A13E35; background:#fff; pointer-events:none; }
.mmcc-mail-piece.is-major { z-index:2; border:4px solid #232D0B; background:#F0C83A; color:#232D0B; cursor:pointer; box-shadow:5px 7px 11px rgba(0,0,0,.35); }
.mmcc-mail-piece.is-major strong { top:39%; font-size:clamp(11px,2.3vw,20px); }
.mmcc-mail-piece.is-major small { top:62%; color:#35420F; font-size:clamp(7px,1.2vw,11px); }
.mmcc-mail-piece.is-major.is-found { animation:mmccMailFound .55s ease both; box-shadow:0 0 0 7px rgba(240,200,58,.78),7px 10px 18px rgba(0,0,0,.38); }
@keyframes mmccMailFound { 45%{filter:brightness(1.18);transform:scale(1.06) rotate(0deg)} 100%{filter:none} }
.mmcc-mail-subscribe { max-width:600px!important; margin:16px auto 0!important; padding:12px 14px; border:2px dashed #35420F; border-radius:10px; background:#fff8d9; color:#232D0B; font:800 15px/1.4 Arial,sans-serif!important; }
.mmcc-mail-subscribe a { color:#A13E35; font-weight:900; text-decoration:underline; text-underline-offset:2px; }
.mmcc-mail-subscribe a:hover,.mmcc-mail-subscribe a:focus { color:#35420F; }


@media (max-width:680px) {
    .mmcc-game-overlay { padding:8px; }
    .mmcc-game-page-nav { margin-bottom:14px; }
    .mmcc-game-shell--inline .mmcc-game-head { padding:0 0 14px; margin-bottom:10px; }
    .mmcc-game-shell--inline .mmcc-game-head h2 { font-size:clamp(28px,9vw,38px); }
    .mmcc-game-shell--inline .mmcc-game-head p { font-size:18px; line-height:1.4; }
    .mmcc-game-shell--inline .mmcc-game-stage { min-height:350px; padding-top:4px; }
    .mmcc-game-shell--inline .mmcc-find-viewport { max-height:68vh; }
    .mmcc-game-shell { max-height:96vh; border-width:4px; }
    .mmcc-game-head { padding:16px 54px 14px 15px; }
    .mmcc-game-head h2 { font-size:clamp(25px,8vw,33px); }
    .mmcc-game-head p { font-size:15px; line-height:1.35; }
    .mmcc-game-close { top:10px; right:9px; width:38px; height:38px; }
    .mmcc-find-status { align-items:flex-end; }
    .mmcc-find-zoom button { min-width:34px; height:34px; padding:0 7px; }
    .mmcc-find-zoom .mmcc-find-zoom__level { min-width:58px; font-size:12px; }
    .mmcc-find-viewport { max-height:58vh; }
    .mmcc-game-stage { min-height:350px; padding:10px; }
    .mmcc-meter-field { min-height:360px; height:55vh; }
    .mmcc-find-status,.mmcc-mail-status { font-size:12px; }
    .mmcc-game-result-actions { flex-direction:column; }
    .mmcc-game-btn { width:100%; }
    .mmcc-mail-crate { min-height:360px; border-width:11px; }
}
@media (max-width:430px) {
    .mmcc-mail-crate { min-height:390px; aspect-ratio:.86/1; }
    .mmcc-meter-legend { gap:8px; font-size:10px; }
}
@media (prefers-reduced-motion:reduce) {
    .mmcc-meter-token.is-hit,.mmcc-find-mark { animation-duration:.01ms!important; }
    .mmcc-mail-piece.is-major.is-found { animation-duration:.01ms!important; }
}
.mmcc-games-hub {
    width: min(1120px, 100%);
    margin: 0 auto;
    font-family: Arial, sans-serif;
    color: #171717;
}
.mmcc-games-hub__intro {
    margin-bottom: 22px;
    padding: 24px 26px;
    border: 3px solid #35420F;
    border-radius: 16px;
    background: #F6F0E3;
    box-shadow: 5px 6px 0 rgba(35,45,11,.17);
    text-align: center;
}
.mmcc-games-hub__eyebrow {
    margin-bottom: 5px;
    color: #A13E35;
    font: 800 12px/1.2 Arial, sans-serif;
    letter-spacing: .13em;
}
.mmcc-games-hub__intro h2 {
    margin: 0 0 7px;
    color: #35420F;
    font: 900 clamp(30px, 5vw, 46px)/1 Georgia, serif;
}
.mmcc-games-hub__intro p {
    margin: 0;
    font: 700 16px/1.45 Arial, sans-serif;
}
.mmcc-games-hub__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}
.mmcc-games-hub__card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 260px;
    padding: 24px;
    overflow: hidden;
    border: 3px solid #35420F;
    border-radius: 16px;
    background: #fff;
    box-shadow: 5px 6px 0 rgba(35,45,11,.16);
}
.mmcc-games-hub__card::after {
    content: "★";
    position: absolute;
    right: 18px;
    top: 16px;
    color: #F0C83A;
    font: 900 25px/1 Arial, sans-serif;
    text-shadow: 1px 1px 0 #35420F;
}
.mmcc-games-hub__badge {
    align-self: flex-start;
    margin: 0 0 16px;
    padding: 5px 9px;
    border: 2px solid #35420F;
    border-radius: 999px;
    background: #F0C83A;
    color: #35420F;
    font: 900 10px/1 Arial, sans-serif;
    letter-spacing: .08em;
}
.mmcc-games-hub__card h3 {
    margin: 0 34px 10px 0;
    color: #35420F;
    font: 900 26px/1.08 Georgia, serif;
}
.mmcc-games-hub__card p {
    margin: 0 0 22px;
    font: 700 15px/1.5 Arial, sans-serif;
}
.mmcc-games-hub__play {
    display:flex;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    width: 100%;
    min-height: 48px;
    margin-top: auto;
    padding: 11px 16px;
    border: 3px solid #232D0B;
    border-radius: 10px;
    background: #F0C83A;
    color: #232D0B;
    box-shadow: 3px 4px 0 rgba(0,0,0,.18);
    font: 900 15px/1.1 Arial, sans-serif;
    text-transform: uppercase;
    text-decoration:none;
    cursor: pointer;
}
.mmcc-games-hub__play:focus-visible {
    outline: 3px solid #A13E35;
    outline-offset: 3px;
}
.mmcc-games-hub__play:active {
    transform: translateY(2px);
    box-shadow: 1px 2px 0 rgba(0,0,0,.18);
}
@media (max-width: 700px) {
    .mmcc-games-hub__intro { padding: 20px 17px; }
    .mmcc-games-hub__grid { grid-template-columns: 1fr; gap: 15px; }
    .mmcc-games-hub__card { min-height: 0; padding: 20px; }
    .mmcc-games-hub__card h3 { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
    .mmcc-find-confirm,.mmcc-find-confirm strong,.mmcc-find-confirm__check { animation-duration:.01ms!important; }
}

/* =========================================================
   Major Games 1.1 mission-board redesign
   ========================================================= */
.mmcc-game-page,
.mmcc-games-hub { width:min(1180px,100%); margin:0 auto; color:#232D0B; font-family:Arial,sans-serif; }
.mmcc-game-page-nav { margin:0 0 4px; padding:0 2px; }
.mmcc-game-page-nav a { display:inline-flex; align-items:center; gap:6px; color:#35420F; font:900 15px/1.2 Arial,sans-serif; text-decoration:none; }
.mmcc-game-page-nav a:hover,.mmcc-game-page-nav a:focus { color:#A13E35; text-decoration:underline; text-underline-offset:3px; }
.mmcc-game-shell--inline .mmcc-game-head { margin:0 auto 14px; padding:0; border:0; background:transparent; box-shadow:none; text-align:center; }
.mmcc-game-shell--inline .mmcc-game-head h2 { display:flex; align-items:center; justify-content:center; gap:22px; margin:0; color:#26320a; font:900 clamp(38px,5.5vw,64px)/1 Impact,"Arial Black",sans-serif; letter-spacing:.02em; text-transform:uppercase; }
.mmcc-game-shell--inline .mmcc-game-head h2::before,.mmcc-game-shell--inline .mmcc-game-head h2::after { content:"★"; color:#E9AE15; font-family:Arial,sans-serif; font-size:.62em; text-shadow:1px 1px 0 #8d6810; }
.mmcc-game-shell--inline .mmcc-game-head p { box-sizing:border-box; width:min(900px,92%); max-width:none; margin:10px auto 0; padding:8px 24px 9px; border:0; background:linear-gradient(90deg,transparent 0,#f3dfb4 4%,#f7e8c9 50%,#f3dfb4 96%,transparent 100%); color:#35420F; font:900 clamp(17px,2vw,22px)/1.25 Arial,sans-serif; }
.mmcc-game-shell--inline .mmcc-game-head p.is-error { color:#A13E35; }
.mmcc-game-shell--inline .mmcc-game-head p.is-success { color:#35420F; }
.mmcc-game-shell--inline .mmcc-game-stage { position:relative; min-height:420px; padding:0; }
.mmcc-game-result { background:rgba(246,240,227,.94); backdrop-filter:blur(2px); }
.mmcc-game-result h3 { color:#35420F; font:900 clamp(30px,5vw,48px)/1 Impact,"Arial Black",sans-serif; text-transform:uppercase; letter-spacing:.02em; }
.mmcc-game-btn { min-height:46px; padding:11px 20px; border:3px solid #232D0B; border-radius:8px; background:#fff; color:#232D0B; box-shadow:3px 4px 0 rgba(0,0,0,.18); font:900 14px/1 Arial,sans-serif; cursor:pointer; }
.mmcc-game-btn.is-primary { background:#F0C83A; }
.mmcc-game-setup-message { max-width:650px; margin:50px auto; padding:28px; border:3px dashed #35420F; border-radius:12px; background:#F6F0E3; text-align:center; }
.mmcc-game-setup-message strong { color:#35420F; font-size:20px; }

/* Main Major Games page */
.mmcc-games-hub { padding:4px 0 8px; }
.mmcc-games-hub__intro { margin:0 0 22px; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; text-align:center; }
.mmcc-games-hub__intro h2 { display:flex; align-items:center; justify-content:center; gap:24px; margin:0; color:#26320a; font:900 clamp(44px,6vw,72px)/1 Impact,"Arial Black",sans-serif; text-transform:uppercase; letter-spacing:.025em; }
.mmcc-games-hub__intro h2 span { color:#E9AE15; font-family:Arial,sans-serif; font-size:.58em; text-shadow:1px 1px 0 #8d6810; }
.mmcc-games-hub__intro p { display:inline-block; margin:8px auto 0; padding:2px 52px 6px; background:linear-gradient(90deg,transparent,#f1dfbd 15%,#f6ead2 50%,#f1dfbd 85%,transparent); color:#171717; font:700 clamp(24px,3.2vw,36px)/1.1 cursive; }
.mmcc-games-hub__grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.mmcc-games-hub__card { position:relative; display:grid; grid-template-columns:minmax(0,48%) minmax(0,52%); min-height:248px; padding:10px; overflow:hidden; border:2px solid #667137; border-radius:9px; background:#fffef8; box-shadow:none; }
.mmcc-games-hub__card::after { content:none; }
.mmcc-games-hub__media { min-height:220px; overflow:hidden; border:1px solid #35420F; border-radius:7px; background:#e9e0cd; }
.mmcc-games-hub__media img { display:block; width:100%; height:100%; min-height:220px; object-fit:cover; }
.mmcc-games-hub__placeholder { display:grid; place-items:center; width:100%; height:100%; min-height:220px; background:linear-gradient(135deg,#26320a,#53611c); color:#F0C83A; font:900 72px/1 Arial,sans-serif; }
.mmcc-games-hub__content { display:flex; flex-direction:column; min-width:0; padding:12px 12px 5px 18px; text-align:center; }
.mmcc-games-hub__card h3 { margin:0; color:#27330c; font:900 clamp(25px,2.6vw,35px)/1.02 Georgia,"Times New Roman",serif; }
.mmcc-games-hub__starline { display:flex; align-items:center; justify-content:center; gap:10px; margin:8px 0 10px; color:#E9AE15; font-size:18px; }
.mmcc-games-hub__starline::before,.mmcc-games-hub__starline::after { content:""; width:52px; height:1px; background:#c5a94b; }
.mmcc-games-hub__card p { margin:0 0 14px; color:#171717; font:700 17px/1.35 Arial,sans-serif; }
.mmcc-games-hub__play { display:flex; align-items:center; justify-content:center; gap:15px; box-sizing:border-box; width:100%; min-height:50px; margin-top:auto; padding:10px 16px; border:3px solid #232D0B; border-radius:8px; background:#F0C83A; color:#171717; box-shadow:2px 3px 0 rgba(0,0,0,.2); font:900 18px/1 Arial,sans-serif; text-transform:none; text-decoration:none; }
.mmcc-games-hub__play span { font-size:28px; line-height:.7; }
.mmcc-games-hub__play:hover,.mmcc-games-hub__play:focus { background:#ffd94b; color:#A13E35; }

/* Where's Major */
.mmcc-find-wrap { max-width:1100px; margin:0 auto; }
.mmcc-find-status { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:18px; margin:0 0 10px; padding:8px 12px; border:1px solid #cfc4ad; border-radius:10px; background:#f7f2e7; box-shadow:0 2px 6px rgba(0,0,0,.08); }
.mmcc-find-mission { display:flex; align-items:center; gap:10px; min-width:160px; padding:7px 13px; border-radius:6px; background:#35420F; color:#fff; text-align:center; }
.mmcc-find-mission__star { color:#F0C83A; font-size:35px; }
.mmcc-find-mission strong { font:900 15px/1.05 Arial,sans-serif; }
.mmcc-find-scene-meta { display:flex; flex-direction:column; gap:3px; padding-left:4px; }
.mmcc-find-scene-meta small { color:#35420F; font:900 12px/1 Arial,sans-serif; }
.mmcc-find-scene-meta span { color:#35420F; font:900 19px/1.1 Arial,sans-serif; }
.mmcc-find-zoom { display:flex; align-items:center; gap:7px; }
.mmcc-find-zoom b { margin-right:5px; color:#35420F; font:900 12px/1 Arial,sans-serif; }
.mmcc-find-zoom button { min-width:48px; height:44px; border:2px solid #777455; border-radius:7px; background:#fffef8; box-shadow:1px 2px 0 rgba(0,0,0,.18); }
.mmcc-find-zoom .mmcc-find-zoom__level { min-width:82px; font-size:17px; }
.mmcc-find-viewport { max-height:min(72vh,760px); border:2px solid #d7cdb8; border-radius:12px; background:#d8cfbd; }
.mmcc-find-scene { border:0; border-radius:9px; }

/* Mail Call */
.mmcc-mail-wrap { max-width:1100px; margin:0 auto; }
.mmcc-mail-status { position:relative; z-index:4; display:flex; justify-content:flex-end; height:0; margin:0; overflow:visible; }
.mmcc-mail-status strong { position:relative; top:12px; right:24px; z-index:6; padding:10px 18px; border:2px solid #7c5c29; border-radius:7px; background:#e7c987; color:#35420F; box-shadow:2px 3px 5px rgba(0,0,0,.25); font:900 20px/1 Arial,sans-serif; }
.mmcc-mail-crate { width:100%; min-height:520px; aspect-ratio:1.75/1; border:16px solid #6d472b; border-radius:10px; background-color:#8e5d36; background-size:cover; background-position:center; box-shadow:inset 0 0 0 5px rgba(66,41,23,.35),0 4px 8px rgba(0,0,0,.22); }
.mmcc-mail-crate.has-custom-background { background-repeat:no-repeat; }

/* Coupon Hunt */
.mmg-coupon-game { max-width:1120px; margin:0 auto; }
.mmg-coupon-toolbar { display:grid; grid-template-columns:minmax(220px,.7fr) minmax(420px,1.3fr); gap:18px; align-items:stretch; margin:0 0 10px; }
.mmg-coupon-note { display:flex; flex-direction:column; justify-content:center; padding:12px 18px; transform:rotate(-1deg); background:#f5e3bf; box-shadow:0 2px 5px rgba(0,0,0,.16); text-align:center; }
.mmg-coupon-note strong { font:900 19px/1.15 Georgia,serif; }
.mmg-coupon-note span { margin-top:5px; font:800 16px/1.2 Arial,sans-serif; }
.mmg-coupon-score { display:grid; grid-template-columns:1fr 1fr auto; gap:0; align-items:center; overflow:hidden; border:4px solid #65763b; border-radius:10px; background:#f7e8b9; box-shadow:2px 3px 5px rgba(0,0,0,.18); }
.mmg-coupon-score > div { display:grid; grid-template-columns:1fr auto; gap:10px; align-items:center; padding:10px 16px; border-right:1px solid rgba(53,66,15,.18); }
.mmg-coupon-score span { font:900 15px/1.15 Arial,sans-serif; }
.mmg-coupon-score b { color:#0f4d25; font:900 28px/1 Arial,sans-serif; }
.mmg-coupon-score > div:first-child b { color:#c71f22; }
.mmg-coupon-score button { align-self:center; margin:8px 12px; min-height:50px; padding:8px 18px; border:3px solid #232D0B; border-radius:8px; background:#F0C83A; box-shadow:2px 3px 0 rgba(0,0,0,.18); font:900 17px/1 Arial,sans-serif; cursor:pointer; }
.mmg-coupon-score button:disabled { opacity:.45; cursor:default; }
.mmg-coupon-scene { position:relative; overflow:hidden; border:3px solid #35420F; border-radius:9px; background:#e9e0cd; cursor:crosshair; }
.mmg-coupon-scene img { display:block; width:100%; height:auto; }
.mmg-coupon-scene.is-wrong { animation:mmccFindWrongFlash .38s ease; }
.mmg-coupon-caption { padding:10px 12px 3px; color:#35420F; text-align:center; font:900 16px/1.3 Arial,sans-serif; }
.mmg-coupon-click { position:absolute; z-index:15; display:grid; place-items:center; width:34px; height:34px; margin:-17px 0 0 -17px; border-radius:50%; background:#fff; font:900 28px/1 Arial,sans-serif; pointer-events:none; animation:mmgCouponClick .75s ease-out both; }
.mmg-coupon-click.is-hit { border:4px solid #35420F; color:#35420F; box-shadow:0 0 0 6px rgba(240,200,58,.7); }
.mmg-coupon-click.is-miss { border:4px solid #c62828; color:#c62828; }
.mmg-coupon-found { position:absolute; z-index:12; display:grid; place-items:center; box-sizing:border-box; border:4px dashed #208338; background:rgba(255,255,255,.15); pointer-events:none; }
.mmg-coupon-found span { display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:#208338; color:#fff; font:900 20px/1 Arial,sans-serif; }
.mmg-coupon-hint-pulse { position:absolute; z-index:14; width:36px; height:36px; margin:-18px 0 0 -18px; border:5px solid #F0C83A; border-radius:50%; box-shadow:0 0 0 7px rgba(161,62,53,.85); pointer-events:none; animation:mmgCouponHint 1s ease-in-out infinite; }
@keyframes mmgCouponClick { 0%{transform:scale(.25);opacity:0} 35%{opacity:1} 100%{transform:scale(1.7);opacity:0} }
@keyframes mmgCouponHint { 0%,100%{transform:scale(.7);opacity:.5} 50%{transform:scale(1.45);opacity:1} }

/* Memory Match */
.mmg-memory-game { display:grid; grid-template-columns:minmax(0,2.1fr) minmax(260px,.9fr); gap:22px; max-width:1080px; margin:0 auto; align-items:start; }
.mmg-memory-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; padding:14px; border:2px solid #78804f; border-radius:11px; background:#f7f2e7; box-shadow:0 3px 8px rgba(0,0,0,.12); }
.mmg-memory-card { position:relative; aspect-ratio:1/1; padding:0; border:0; background:transparent; perspective:900px; cursor:pointer; }
.mmg-memory-card__inner { position:absolute; inset:0; transition:transform .42s ease; transform-style:preserve-3d; }
.mmg-memory-card.is-flipped .mmg-memory-card__inner,.mmg-memory-card.is-matched .mmg-memory-card__inner { transform:rotateY(180deg); }
.mmg-memory-card__back,.mmg-memory-card__front { position:absolute; inset:0; display:grid; place-items:center; box-sizing:border-box; overflow:hidden; border:3px solid #35420F; border-radius:9px; backface-visibility:hidden; box-shadow:1px 3px 5px rgba(0,0,0,.18); }
.mmg-memory-card__back { background-color:#35420F; background-size:cover; background-position:center; color:#F0C83A; }
.mmg-memory-card__back > span { font-size:48px; line-height:1; }
.mmg-memory-card__back small { position:absolute; bottom:10%; font:900 10px/1 Arial,sans-serif; color:#F0C83A; }
.mmg-memory-card__front { transform:rotateY(180deg); background:#fffdf7; }
.mmg-memory-card__front img { display:block; width:86%; height:86%; object-fit:contain; }
.mmg-memory-card.is-matched .mmg-memory-card__front { box-shadow:inset 0 0 0 5px #F0C83A,1px 3px 5px rgba(0,0,0,.18); }
.mmg-memory-score { padding:18px; border:0; background:#f7efd9; box-shadow:0 2px 8px rgba(0,0,0,.15); text-align:center; }
.mmg-memory-score h3 { margin:0 0 14px; color:#35420F; font:900 27px/1 Georgia,serif; }
.mmg-memory-score h3 span { color:#E9AE15; }
.mmg-memory-score > div { margin:9px 0; padding:10px; border-radius:7px; background:#e9dfc9; }
.mmg-memory-score > div span { display:block; font:700 16px/1.1 Arial,sans-serif; }
.mmg-memory-score > div strong { display:block; margin-top:4px; color:#35420F; font:900 31px/1 Arial,sans-serif; }
.mmg-memory-score p { margin:24px 0; color:#171717; font:700 22px/1.2 cursive; transform:rotate(-2deg); }
.mmg-memory-ribbon { display:block; margin:12px -22px -12px; padding:12px 10px; transform:rotate(-2deg); background:#F0C83A; color:#232D0B; font:900 16px/1 Arial,sans-serif; }

@media (max-width:900px) {
    .mmcc-games-hub__card { grid-template-columns:1fr; }
    .mmcc-games-hub__media,.mmcc-games-hub__media img,.mmcc-games-hub__placeholder { min-height:190px; max-height:260px; }
    .mmg-coupon-toolbar { grid-template-columns:1fr; }
    .mmg-memory-game { grid-template-columns:1fr; }
    .mmg-memory-score { max-width:none; }
}
@media (max-width:680px) {
    .mmcc-game-shell--inline .mmcc-game-head h2 { gap:10px; font-size:clamp(32px,10vw,44px); }
    .mmcc-game-shell--inline .mmcc-game-head p { width:100%; padding:8px 10px; font-size:17px; }
    .mmcc-games-hub__intro h2 { gap:10px; font-size:clamp(38px,12vw,54px); }
    .mmcc-games-hub__intro p { padding:3px 22px 6px; font-size:25px; }
    .mmcc-games-hub__grid { grid-template-columns:1fr; }
    .mmcc-find-status { grid-template-columns:1fr auto; gap:8px; }
    .mmcc-find-mission { grid-column:1/-1; min-width:0; justify-content:center; }
    .mmcc-find-scene-meta span { font-size:15px; }
    .mmcc-find-zoom b { display:none; }
    .mmcc-mail-crate { min-height:430px; aspect-ratio:.92/1; border-width:11px; }
    .mmg-coupon-score { grid-template-columns:1fr 1fr; }
    .mmg-coupon-score button { grid-column:1/-1; }
    .mmg-coupon-note { display:none; }
    .mmg-coupon-caption { font-size:13px; }
    .mmg-memory-grid { gap:6px; padding:8px; }
    .mmg-memory-card__back > span { font-size:30px; }
    .mmg-memory-card__back small { display:none; }
}

/* =========================================================
   v1.1.2 — Mail Call-only refinements
   ========================================================= */
.mmcc-game-page--mail .mmcc-game-result {
    box-sizing: border-box;
    width: 75%;
    height: 75%;
    margin: auto;
    background: rgba(246, 240, 227, .86);
    overflow: auto;
}

.mmcc-game-page--mail .mmcc-game-page-nav {
    padding: 0 20px;
}

.mmcc-game-page--mail .mmcc-game-shell--inline .mmcc-game-head {
    padding: 0 20px;
}

.mmcc-game-page--mail .mmcc-game-shell--inline .mmcc-game-head h2 {
    font-family: "Bitter", Georgia, serif;
}

.mmcc-game-page--mail .mmcc-mail-wrap {
    max-width: none;
}

.mmcc-game-page--mail .mmcc-mail-crate {
    border: 0;
    background-color: transparent;
    box-shadow: none;
}

.mmcc-game-page--mail .mmcc-mail-crate::before,
.mmcc-game-page--mail .mmcc-mail-crate::after {
    display: none;
}
