/* MY WORLD V16.4.2 — restore original approved layers, viewport-safe placement.
   No synthetic artwork: all images remain original masters. */
@media (max-width:1099px) {
  html,body,#giftApp {min-height:100dvh;}
  .m-wrapper {min-height:100dvh!important;max-height:none;overflow:hidden!important;align-items:flex-start!important;justify-content:center!important;padding:0!important;}
  .m-stage.m-mobile {height:100dvh!important;min-height:0!important;max-height:844px!important;}
  .m-stage.m-mobile .m-approved-art,.m-stage.m-mobile .native-art {height:100%!important;object-fit:fill!important;}
  .native-stage .native-text,.native-stage .native-dynamic {line-height:1.08!important;}
  .native-stage .native-hit:focus-visible {outline-offset:0!important;}
  .native-stage .qa-consent-note {z-index:20!important;display:flex;align-items:center;flex-wrap:wrap;gap:2px 8px;padding:4px 7px!important;font-size:12px!important;line-height:1.1!important;}
  .native-stage .qa-test-payment-label {position:absolute;z-index:5;color:#ebc981;font-size:12px;text-align:right;}
  .native-stage .qa-consent-focus .native-tick-mark {outline:2px solid #ffe08a!important;outline-offset:3px;}
  .m-04C .m-searchbar {box-shadow:none!important;outline:none!important;border:1px solid #d9b65f!important;}
  .m-04C .m-searchbar:focus-within {box-shadow:0 0 6px #ffe08a55!important;border-color:#ffe08a!important;outline:none!important;}
  .m-04C .m-searchbar input,.m-04C .m-searchbar input:focus,.m-04C .m-searchbar input:focus-visible {outline:none!important;border:0!important;box-shadow:none!important;outline-offset:0!important;}
  .m-04C .m-back,.m-06A .m-back{white-space:nowrap!important;text-decoration:none!important;}
  .m-04C .m-place-list{overscroll-behavior:contain;scrollbar-width:none;}
  .m-04C .m-place-list::-webkit-scrollbar{display:none;}
  .m-04C .m-add{border:1px dashed #5a4f3b!important;border-radius:9px!important;}
  .m-04C .m-add span {display:inline!important;}
  .m-04C .m-search-icon-svg{width:20px;height:20px;color:#ffe08a;flex:none;}
  .m-04C .m-counter:before,.m-04C .m-counter:after{content:'';position:absolute;height:1px;width:75px;top:50%;background:linear-gradient(90deg,transparent,#927a4d);}
  .m-04C .m-counter:before{right:calc(100% + 6px)}
  .m-04C .m-counter:after{left:calc(100% + 6px);transform:scaleX(-1)}
  .m-04C.places-3 .m-place-card{height:105px!important;flex:0 0 105px!important;padding:5px!important;gap:5px!important;}
  .m-04C.places-3 .m-place-list{gap:6px!important;}
  .m-04C.places-3 .m-place-thumb{width:77px!important;height:77px!important;flex-basis:77px!important;}
  .m-04C.places-3 .m-place-name{font-size:18px!important;line-height:21px!important;}
  .m-04C.places-3 .m-place-country{font-size:15px!important;line-height:17px!important;}
  .m-04C.places-3 .m-place-categories{margin-top:5px!important;gap:5px!important;}
  .m-04C.places-3 .m-category{min-height:28px!important;padding:1px 7px!important;font-size:15px!important;}
  .m-06A .m-occasion{font-weight:400!important;}
  .m-06A .m-signature-zone.qa-signature-step{display:flex!important;border:1px solid #74613c!important;padding:7px 12px!important;gap:2px!important;background:#040e14d9!important;}
  .m-06A .qa-signature-step label{font-size:16px!important;line-height:19px!important;}
  .m-06A .qa-signature-step input {height:29px!important;}
  .m-06A .m-primary{font-weight:650!important;color:#000!important;}
  .m-06A .m-phrase{font-size:16px!important;line-height:19px!important;padding:6px 31px 6px 12px!important;}
  .m-06A .m-secondary-small{display:flex!important;gap:6px;align-items:center;justify-content:center!important;}
  .m-06A .m-secondary-small svg{width:18px;height:18px;flex:none;}
  .native-06b .mw-card-signature{width:calc(100% - 9px)!important;text-align:right!important;right:9px!important;left:auto!important;}
  .native-06b .mw-card-brand{display:none!important;}
  /* Only the selected original design's interactive content; no standalone brand zone. */
  .qa-manual-extra {margin:10px 0;text-align:left;color:#ffe08a;}
  .qa-manual-help {font:400 14px/1.4 Manrope,sans-serif;color:#bba780;}
  .qa-manual-form .cta {width:100%;color:#000!important;}
}
@media(min-width:1100px) {
  .native-stage .qa-test-payment-label{position:absolute;z-index:7;color:#ebc981;font-size:14px;}
  .native-06b .mw-card-brand{display:none!important;}
  .native-06b .mw-card-signature{right:11px!important;left:auto!important;text-align:right!important;}
  .native-stage .qa-consent-focus .native-tick-mark{outline:2px solid #ffe08a!important;outline-offset:3px;}
  .qa-manual-extra {margin:10px 0;text-align:left;color:#ffe08a;}
  .qa-manual-help{font:400 15px/1.4 Manrope,sans-serif;color:#bba780;}
}
/* Short Mobile: compact existing SCREEN_05 chrome, not the live 3D globe itself. */
@media (max-width:680px) and (max-height:780px){
 .screen05.page{height:100dvh;min-height:0;overflow:hidden;padding:6px 14px 8px;}
 .screen05 .top{min-height:55px;}
 .screen05 .top .logo{margin-top:0!important;width:155px;}
 .screen05 .top .back{font-size:18px;padding-top:0;}
 .screen05 .title{margin:0 auto 5px;font-size:26px;}
 .screen05 .subtitle{margin:0 auto 4px;font-size:16px;line-height:1.2;}
 .screen05 .content{margin:0 auto;width:100%;}
 .screen05 .preview05{width:100%;margin:0 auto;}
 .screen05 .preview05-world-name{margin:2px 0 5px;font-size:20px;}
 .screen05 .preview05-counters{gap:5px!important;}
 .screen05 .preview05-counter{min-height:61px!important;padding:5px 2px!important;}
 .screen05 .preview05-counter strong{font-size:20px!important;}
 .screen05 .preview05-counter span{font-size:11px!important;}
 .screen05 .preview05-stage iframe{width:min(64vw,32dvh)!important;height:min(64vw,32dvh)!important;margin:2px auto 0!important;}
 .screen05 .preview05-caption{margin:0;line-height:1.2;font-size:15px!important;}
 .screen05 .qa-preview-disclaimer{margin:4px auto 0!important;font-size:13px!important;line-height:1.18!important;max-width:330px;}
 .screen05 .spacer{display:none;}
 .screen05 .bottom{margin-top:auto;padding-top:4px;padding-bottom:6px;}
 .screen05 .bottom .cta{min-height:44px;}
}
/* 04C three-location state: all cards fully visible at 844px AND at 720px;
   the manual-add link remains a separate readable row. */
@media (max-width:1099px){
 .m-04C.places-3 .m-place-list{height:307px!important;overflow:visible!important;gap:6px!important;}
 .m-04C.places-3 .m-place-card{height:97px!important;flex:0 0 97px!important;}
 .m-04C.places-3 .m-place-thumb{height:77px!important;width:77px!important;flex-basis:77px!important;}
}
@media(max-width:1099px){.m-04C.places-3 .m-place-categories{margin-top:0!important}.m-04C.places-3 .m-category{min-height:27px!important}}
/* Recipient activation: keep email OTP panel, EULA and CTA from overlapping
   on shorter Android viewports. Original SCREEN_10 art remains unmodified. */
@media(max-width:1099px) and (max-height:780px){
 #giftEulaScreen .mw-gift-card{height:100dvh!important;min-height:0!important;max-height:100dvh!important;flex-basis:390px!important;overflow:hidden!important;background-size:100% 100%!important}
 #giftEulaScreen .mw-gift-card h1{top:116px!important}
 #giftEulaScreen .mw-gift-card h2{top:166px!important}
 #giftEulaScreen #mw164EmailBox{top:265px!important;bottom:auto!important;max-height:calc(100dvh - 440px)!important;overflow-y:auto!important;padding:9px 12px!important}
 #giftEulaScreen .mw-gift-eula{top:calc(100dvh - 174px)!important}
 #giftEulaScreen #mwGiftActivateBtn{top:calc(100dvh - 84px)!important}
 #giftEulaScreen .activation-status{bottom:2px!important;font-size:11px!important}
}

.m-04C .m-searchbar input:focus,.m-04C .m-searchbar input:focus-visible {outline:0!important;box-shadow:none!important}
/* SCREEN_05 mobile: preserve content and CTA in the viewport, no extra screen or hidden action. */
@media (max-width:1099px){
 .screen05.page{height:100dvh;min-height:0!important;overflow:hidden;display:flex;flex-direction:column;padding:4px 16px 9px;}
 .screen05 .top{flex:0 0 auto;min-height:54px;margin-bottom:0;}
 .screen05 .top .logo{max-width:152px!important;}
 .screen05 .title{flex:0 0 auto;font-size:clamp(23px,6vw,27px);margin:3px 0!important;}
 .screen05 .subtitle{flex:0 0 auto;font-size:16px;line-height:1.25;margin:2px 0 4px!important;}
 .screen05 .content{flex:1 1 auto;min-height:0;overflow:hidden;margin:0!important;padding:0!important;}
 .screen05 .preview05{width:100%;margin:0!important;display:flex;flex-direction:column;align-items:center;gap:3px;}
 .screen05 .preview05-world-name{font-size:20px;margin:0 0 4px!important;}
 .screen05 .preview05-counters{gap:5px!important;}
 .screen05 .preview05-counter{min-height:55px!important;padding:4px 2px!important;}
 .screen05 .preview05-counter strong{font-size:22px!important;}
 .screen05 .preview05-counter span{font-size:12px!important;}
 .screen05 .preview05-stage{padding-top:0;gap:0;}
 .screen05 .preview05-stage iframe{width:min(74vw,38dvh)!important;height:min(74vw,38dvh)!important;max-width:100%;aspect-ratio:1;margin:3px auto!important;}
 .screen05 .preview05-caption{font-size:15px;line-height:1.15;margin:0!important;}
 .screen05 .qa-preview-disclaimer{max-width:330px;font-size:13px!important;line-height:1.2!important;margin:3px auto!important;}
 .screen05 .spacer{display:none!important;}
 .screen05 .bottom{flex:0 0 auto;margin:0!important;padding:4px 10px 0!important;}
 .screen05 .bottom .cta{min-height:44px;margin:0!important;}
}
/* SCREEN_01: retain the approved Earth's aspect ratio instead of squashing the 390×844 master. */
@media (min-width:375px) and (max-width:680px){
  .m-01.m-mobile .m-approved-art {width:390px!important;height:844px!important;object-fit:contain!important;object-position:top center!important;}
}
.m-06A .m-skip-postcard{border:1px solid #b89c68!important;border-radius:999px!important;color:#f5dda2!important;background:#08121b!important;font:400 18px/1.2 Manrope,sans-serif!important;box-shadow:none;}
.m-06A .m-skip-postcard:focus-visible,.native-06b .qa-skip-card:focus-visible{outline:2px solid #ffe08a!important;outline-offset:3px;}
@media(max-width:374px){
  .m-stage.m-mobile{width:100vw!important;}
  .m-stage.m-mobile .m-approved-art{width:390px!important;max-width:none!important;height:844px!important;left:calc((100vw - 390px)/2)!important;object-fit:contain!important;}
  .m-stage.m-mobile .m-title04,.m-stage.m-mobile .m-title06{left:16px!important;width:calc(100vw - 32px)!important;}
  .m-stage.m-mobile .m-sub04,.m-stage.m-mobile .m-sub06{left:20px!important;width:calc(100vw - 40px)!important;}
  .m-stage.m-mobile .m-occasion{width:calc((100vw - 48px)/3)!important;}
  .m-stage.m-mobile .m-primary,.m-stage.m-mobile .m-skip-postcard{width:calc(100vw - 64px)!important;}
  .m-stage.m-mobile .m-phrase,.m-stage.m-mobile .m-searchbar,.m-stage.m-mobile .m-place-list,.m-stage.m-mobile .m-manual-link,.m-stage.m-mobile .qa-signature-step{width:calc(100vw - 32px)!important;}
}
@media(max-width:680px) and (max-height:670px){
 .m-04C .m-primary{transform:translateY(-14px)}
}
