/* World: the SAME approved Arche de Sable visual shell as production. */
body.mw-six-dedicated-page .mw-world-matched-gallery{padding:20px 0 65px}
.mw-world-heading{max-width:830px;margin:4px 0 29px}
.mw-world-heading h2{color:#45301d;font:400 clamp(26px,3.5vw,44px)/1.18 Georgia,serif;margin:12px 0 15px}
.mw-world-heading p{color:#6b5640;font:14px/1.85 Arial,sans-serif;margin:0}
.mw-world-grid{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:17px!important;align-items:start}
.mw-world-grid>.mw-world-gold-card{min-width:0}
.mw-world-ai-label{position:absolute;top:5.5%;right:11%;z-index:8;border-radius:8px;padding:5px 8px;background:rgba(52,38,23,.94);color:#ffefcb;font:800 2.7cqi/1.1 Arial,sans-serif;letter-spacing:.01em;pointer-events:none;text-transform:uppercase}
.mw-world-gold-card .mw-home-hotspot{z-index:9}
.mw-world-matched-modal{box-sizing:border-box;max-width:min(980px,calc(100vw - 24px));width:100%;max-height:calc(100dvh - 24px);border:1px solid #a8793f;border-radius:19px;background:#fff9ef;padding:20px;overflow:auto;color:#48321c}
.mw-world-matched-modal::backdrop{background:#07181bda}
.mw-world-modal-top{display:flex;align-items:center;justify-content:space-between;gap:15px;font:700 17px/1.4 Georgia,serif}
.mw-world-modal-top button{border:1px solid #c8a575;background:#f5e6cb;border-radius:9px;padding:8px 13px;font:700 21px Arial,sans-serif;cursor:pointer}
.mw-world-modal-modes{display:flex;justify-content:center;gap:8px;margin:12px 0}
.mw-world-modal-modes button{cursor:pointer;background:#f6e9d0;color:#6d4c29;border:1px solid #b18e5d;border-radius:9px;padding:10px 18px}
.mw-world-modal-modes button[aria-pressed=true]{color:#fff4db;background:#62411f}
.mw-world-modal-screen{margin:0 auto;background:#132326;border:8px solid #172325;display:flex;justify-content:center;align-items:center;overflow:hidden;max-height:56vh;border-radius:18px}
.mw-world-modal-screen.phone{aspect-ratio:9/19.5;height:min(52vh,580px)}
.mw-world-modal-screen.desktop{aspect-ratio:16/9;height:min(47vh,500px)}
.mw-world-modal-screen img{width:100%;height:100%;object-fit:cover}
.mw-world-matched-modal p{color:#75604b;font:12px/1.6 Arial,sans-serif;text-align:center}
#mw-world-matched-download{display:table;background:linear-gradient(110deg,#795124,#a7783c);color:#fff7e4;border-radius:11px;text-align:center;margin:12px auto 2px;padding:12px 20px;font:700 13px Arial,sans-serif;text-decoration:none}
.mw-world-matched-modal a:focus-visible,.mw-world-matched-modal button:focus-visible{outline:3px solid #b78236;outline-offset:3px}
@media(max-width:1060px){.mw-world-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:620px){.mw-world-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}.mw-world-ai-label{font-size:2.9cqi;padding:4px 5px}}
@media(prefers-reduced-motion:reduce){.mw-world-gold-card .mw-home-hotspot::before{animation:none!important}}


/* Match the real site's .preview-dialog .preview-device-phone instead of a plain picture rectangle. */
.mw-world-matched-modal{background:radial-gradient(ellipse at 50% 20%,#fffdf7 0%,#f4e7d3 75%,#efe0ca 100%)}
.mw-world-modal-screen{position:relative;isolation:isolate;overflow:hidden;background:#14171b;box-sizing:border-box;transform-origin:center center;box-shadow:0 24px 65px rgba(51,34,19,.26),0 4px 12px rgba(34,23,17,.15)}
.mw-world-modal-screen.phone{
  width:min(265px,64vw);height:auto;max-height:52vh;aspect-ratio:9/18.5;
  border:8px solid #171b20;border-radius:37px;
  outline:2px solid #515760;outline-offset:1px;
  box-shadow:0 24px 65px rgba(51,34,19,.26),0 4px 12px rgba(34,23,17,.15),inset 0 0 0 1px #111;
}
.mw-world-modal-screen.phone img{border-radius:25px}
.mw-world-modal-screen.desktop{
  width:min(100%,580px);height:auto;max-height:47vh;aspect-ratio:16/9;
  border:10px solid #1b2227;border-radius:14px;outline:1px solid #727679;
}
.mw-world-modal-screen .mw-world-phone-island,.mw-world-modal-screen .mw-world-phone-homebar,.mw-world-modal-screen .mw-world-phone-clock{display:none}
.mw-world-modal-screen.phone .mw-world-phone-island{
  display:block;position:absolute;top:6px;left:50%;transform:translateX(-50%);
  width:29%;height:13px;border-radius:16px;background:#101418;box-shadow:0 1px 2px #151b20;z-index:3;pointer-events:none;
}
.mw-world-modal-screen.phone .mw-world-phone-homebar{
  display:block;position:absolute;bottom:7px;left:35%;width:30%;height:4px;
  background:#f9f9f9;border-radius:6px;box-shadow:0 1px 7px #0006;z-index:3;pointer-events:none;
}
.mw-world-modal-screen.phone .mw-world-phone-clock{
  display:block;position:absolute;top:8px;left:18px;color:#fff;
  font:700 10px/1.3 Arial,sans-serif;text-shadow:0 1px 4px #000a;
  z-index:3;pointer-events:none;
}
.mw-world-modal-screen.phone:after{
  content:'';position:absolute;inset:0;pointer-events:none;z-index:2;
  border-radius:25px;box-shadow:inset 1px 0 8px #ffffff29,inset -2px 0 9px #0004;
}
.mw-world-modal-screen.phone:before{
  content:'';position:absolute;left:-10px;top:24%;width:3px;height:10%;
  border-radius:4px 0 0 4px;background:#3d464d;box-shadow:0 12px 0 #303941;
}
.mw-world-modal-modes button[aria-pressed="true"]{background:#4c3b29;color:#fffdf7;box-shadow:0 3px 9px #2d1b1338}
@media(prefers-reduced-motion:no-preference){
  .mw-world-matched-modal[open] .mw-world-modal-screen.phone{animation:mw-world-phone-appear .58s cubic-bezier(.2,.85,.25,1) both}
  .mw-world-matched-modal[open] .mw-world-modal-screen.desktop{animation:mw-world-desktop-appear .4s ease-out both}
}
@keyframes mw-world-phone-appear{
  0%{opacity:.45;transform:translateY(32px) rotate(-7deg) scale(.82)}
  75%{opacity:1;transform:translateY(-6px) rotate(1deg) scale(1.02)}
  100%{opacity:1;transform:translateY(0) rotate(0) scale(1)}
}
@keyframes mw-world-desktop-appear{from{opacity:.5;transform:translateY(16px) scale(.94)}to{opacity:1;transform:none}}
@media(max-width:480px){.mw-world-modal-screen.phone{width:min(240px,61vw);max-height:47vh}}
@media(prefers-reduced-motion:reduce){.mw-world-matched-modal[open] .mw-world-modal-screen{animation:none!important;transform:none!important}}
