/* Recovered CSS section 19: 19-singapore-scene-polish.css */

#singaporeRoot .sg-modal-card{width:min(760px,94vw)!important;max-height:min(90vh,820px)!important;padding:18px 20px 16px!important;border-radius:28px!important;box-shadow:0 24px 70px rgba(13,30,55,.38)!important}
#singaporeRoot .sg-overline{font-size:11px!important;letter-spacing:2.2px!important}
#singaporeRoot .sg-modal-card h2{font-size:clamp(24px,2.7vw,36px)!important;margin:4px 0 10px!important}
#singaporeRoot .sg-cinematic{display:flex!important;flex-direction:column!important;border-radius:20px!important;overflow:hidden!important}
#singaporeRoot .sg-stage{height:clamp(250px,34vh,320px)!important;overflow:hidden!important}
#singaporeRoot .sg-caption{padding:12px 16px 14px!important}
#singaporeRoot .sg-name{font-size:clamp(17px,2.1vw,24px)!important;padding:5px 16px!important;margin:0 0 8px!important}
#singaporeRoot .sg-caption p{font-size:clamp(13px,1.3vw,17px)!important;line-height:1.45!important;margin:0 24px 0 0!important}
#singaporeRoot .sg-actions{justify-content:center!important;gap:10px!important;margin-top:12px!important}
#singaporeRoot .sg-button{min-height:46px!important;padding:10px 18px!important;font-size:15px!important}
#singaporeRoot .sg-dialog-next{font-size:24px!important;right:12px!important;bottom:9px!important;opacity:.72}
#singaporeRoot .sg-modal-card.full-art .sg-character,#singaporeRoot .sg-modal-card.full-art .sg-prop-character,#singaporeRoot .sg-modal-card.full-art .sg-prop-float{display:none!important}
#singaporeRoot .sg-modal-card.country-start .sg-stage,#singaporeRoot .sg-modal-card.mission-card .sg-stage,#singaporeRoot .sg-modal-card.baton-finish .sg-stage,#singaporeRoot .sg-modal-card.boss-intro .sg-stage{height:clamp(290px,39vh,360px)!important}
#singaporeRoot .sg-modal-card.country-start.full-art .sg-scene-art,#singaporeRoot .sg-modal-card.mission-card.full-art .sg-scene-art,#singaporeRoot .sg-modal-card.baton-finish.full-art .sg-scene-art,#singaporeRoot .sg-modal-card.boss-intro.full-art .sg-scene-art{object-position:center center!important}
#singaporeRoot .sg-modal-card.rush-intro .sg-cine-vibey,#singaporeRoot .sg-modal-card.rush-retry .sg-cine-vibey{left:10%!important;width:20%!important;height:58%!important}
#singaporeRoot .sg-modal-card.rush-intro .sg-prop-character.gate-preview,#singaporeRoot .sg-modal-card.rush-retry .sg-prop-character.gate-preview{right:5%!important;top:4%!important;bottom:auto!important;width:41%!important;height:auto!important;max-height:74%!important;filter:drop-shadow(0 12px 18px rgba(18,29,65,.25))}
#singaporeRoot .sg-modal-card.boss-intro .sg-prop-float.boss-hat{display:block!important;right:7%!important;top:9%!important;width:20%!important;height:auto!important;filter:drop-shadow(0 7px 12px rgba(38,20,69,.32))}
#singaporeRoot .sg-modal-card.boss-intro .sg-caption{background:linear-gradient(180deg,#fff9ef,#fff4e2)!important}
#singaporeRoot .sg-modal-card.country-start .sg-caption,#singaporeRoot .sg-modal-card.mission-card .sg-caption,#singaporeRoot .sg-modal-card.baton-finish .sg-caption,#singaporeRoot .sg-modal-card.boss-intro .sg-caption{padding-top:14px!important}
@media(max-width:720px){#singaporeRoot .sg-modal-card{width:min(94vw,620px)!important;padding:14px 14px 13px!important}#singaporeRoot .sg-stage{height:230px!important}#singaporeRoot .sg-modal-card.country-start .sg-stage,#singaporeRoot .sg-modal-card.mission-card .sg-stage,#singaporeRoot .sg-modal-card.baton-finish .sg-stage,#singaporeRoot .sg-modal-card.boss-intro .sg-stage{height:250px!important}#singaporeRoot .sg-caption{padding:11px 12px 13px!important}#singaporeRoot .sg-caption p{font-size:13px!important;line-height:1.4!important;margin-right:16px!important}#singaporeRoot .sg-name{font-size:18px!important}#singaporeRoot .sg-button{flex:1 1 100%;font-size:14px!important}#singaporeRoot .sg-modal-card.rush-intro .sg-prop-character.gate-preview,#singaporeRoot .sg-modal-card.rush-retry .sg-prop-character.gate-preview{width:44%!important;top:7%!important;right:2%!important}#singaporeRoot .sg-modal-card.boss-intro .sg-prop-float.boss-hat{width:24%!important;top:10%!important;right:4%!important}}
#map .atlas-shell{position:relative;max-width:min(1220px,96vw)!important;border-radius:34px!important;background:linear-gradient(180deg,#31214c 0%,#15324d 100%)!important;box-shadow:0 28px 90px rgba(7,13,28,.55)!important;overflow:hidden}
#map .atlas-shell::before{content:'';position:absolute;inset:14px;border-radius:24px;background:radial-gradient(circle at 22% 18%,rgba(255,222,168,.16),transparent 24%),radial-gradient(circle at 82% 12%,rgba(131,203,255,.18),transparent 19%),linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.01));pointer-events:none}
#map .atlas-header,#map .atlas-layout,#map .atlas-stops{position:relative;z-index:1}
#map .atlas-map-panel,#map .atlas-spotlight{background:rgba(255,250,240,.08)!important;border:1px solid rgba(255,231,189,.16)!important;box-shadow:inset 0 0 0 1px rgba(255,244,210,.08),0 18px 36px rgba(4,9,24,.24)!important;border-radius:24px!important;backdrop-filter:blur(8px)}
#map .atlas-map-visual{position:relative;border-radius:22px!important;overflow:hidden!important;border:2px solid rgba(255,237,185,.35)!important;box-shadow:0 12px 26px rgba(7,12,28,.26)!important}
#map .atlas-map-visual::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.08),transparent 22%),linear-gradient(180deg,rgba(255,255,255,.04),transparent 30%);pointer-events:none}
#map .atlas-globe{filter:saturate(1.08) contrast(1.04)}
#map .atlas-pin-core{box-shadow:0 0 0 3px rgba(255,241,206,.18),0 0 22px rgba(255,205,126,.34)}
#map .atlas-stop{background:rgba(255,255,255,.06)!important;border:1px solid rgba(255,231,189,.16)!important;border-radius:14px!important}
#map .atlas-stop.selected{background:rgba(255,214,154,.16)!important}
#map .atlas-footnote,#map .atlas-header p,#map .atlas-spotlight p{color:#eadfd7!important}
#map .atlas-map-watermark{letter-spacing:4px!important;opacity:.18!important}


/* Recovered CSS section 20: 20-world-art-polish.css */

/* Main Singapore cards match the compact storytelling proportions of Sakura and Guilin. */
#singaporeRoot #sg-modal .sg-modal-card{width:min(780px,94vw)!important;max-height:min(91dvh,735px)!important;overflow-y:auto!important;overflow-x:hidden!important;padding:16px 19px 16px!important;border:2px solid #e9bb86!important;border-radius:26px!important;background:linear-gradient(145deg,#fff9eb,#f6ddc5)!important;box-shadow:0 25px 75px #0e1a32b0!important;}
#singaporeRoot #sg-modal .sg-modal-card .sg-cinematic{height:auto!important;min-height:0!important;max-height:none!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;border-radius:20px!important;border:2px solid #dfb68b!important;}
#singaporeRoot #sg-modal .sg-modal-card .sg-stage{height:clamp(255px,42vh,332px)!important;flex:0 0 auto!important;position:relative!important;min-height:0!important;overflow:hidden!important;}
#singaporeRoot #sg-modal .sg-modal-card .sg-caption{position:relative!important;inset:auto!important;bottom:auto!important;left:auto!important;right:auto!important;width:100%!important;border:0!important;border-top:1px solid #d8af82!important;border-radius:0!important;padding:9px 16px 12px!important;background:#fff7eb!important;backdrop-filter:none!important;box-shadow:none!important;}
#singaporeRoot #sg-modal .sg-modal-card .sg-name{display:inline-flex!important;transform:none!important;box-shadow:0 3px #c59c56!important;border-radius:999px!important;font-size:clamp(17px,2vw,23px)!important;padding:5px 16px!important;margin:0 0 7px!important;}
#singaporeRoot #sg-modal .sg-modal-card .sg-caption p{font-size:clamp(15px,1.32vw,18px)!important;line-height:1.38!important;margin:0 23px 0 0!important;font-weight:770!important;color:#3e2f49!important;}
#singaporeRoot #sg-modal .sg-modal-card .sg-overline{font-size:11px!important;letter-spacing:2.3px!important;margin:2px 0 7px!important;color:#ad6078!important;}
#singaporeRoot #sg-modal .sg-modal-card h2{font-size:27px!important;margin:0 0 8px!important;}
#singaporeRoot #sg-modal .sg-modal-card .sg-actions{display:flex!important;justify-content:flex-end!important;gap:10px!important;margin:11px 1px 0!important;flex-wrap:wrap!important;}
#singaporeRoot #sg-modal .sg-modal-card .sg-button{min-height:45px!important;padding:9px 16px!important;font-size:14px!important;border-radius:14px!important;box-shadow:0 4px #a85b67!important;background:linear-gradient(135deg,#ffbf79,#ec718e)!important;color:#472848!important;}
#singaporeRoot #sg-modal .sg-modal-card .sg-button.secondary{background:#634468!important;color:#fff4e6!important;box-shadow:0 4px #3e2c49!important;}
#singaporeRoot #sg-modal .sg-modal-card .sg-dialog-next{font-size:22px!important;right:11px!important;bottom:9px!important;}
#singaporeRoot #sg-modal .sg-modal-card .sg-stage .sg-scene-art{object-position:center!important;object-fit:cover!important;}
#singaporeRoot #sg-modal .sg-modal-card.full-art .sg-stage .sg-character,#singaporeRoot #sg-modal .sg-modal-card.full-art .sg-stage .sg-prop-character,#singaporeRoot #sg-modal .sg-modal-card.full-art .sg-stage .sg-prop-float{display:none!important;}
#singaporeRoot #sg-modal .sg-modal-card.rush-intro .sg-cine-vibey,#singaporeRoot #sg-modal .sg-modal-card.rush-retry .sg-cine-vibey{left:9%!important;right:auto!important;bottom:7%!important;top:auto!important;width:21%!important;height:74%!important;max-height:74%!important;}
#singaporeRoot #sg-modal .sg-modal-card.rush-intro .sg-prop-character.gate-preview,#singaporeRoot #sg-modal .sg-modal-card.rush-retry .sg-prop-character.gate-preview{left:auto!important;right:12%!important;top:3%!important;bottom:0!important;width:35%!important;height:94%!important;max-height:none!important;object-fit:contain!important;filter:drop-shadow(0 7px 14px #26345170)!important;}
#singaporeRoot #sg-modal .sg-modal-card.country-start .sg-cine-amba{bottom:1%!important;}
#singaporeRoot #sg-modal .sg-modal-card.country-start .cart-peek{bottom:1%!important;}
#singaporeRoot #sg-modal .sg-modal-card.mission-card h2,#singaporeRoot #sg-modal .sg-modal-card.baton-finish h2,#singaporeRoot #sg-modal .sg-modal-card.boss-intro h2,#singaporeRoot #sg-modal .sg-modal-card.rush-intro h2,#singaporeRoot #sg-modal .sg-modal-card.rush-retry h2{display:none!important;}
/* Interactive illustrated atlas, keeps six accessible buttons and dynamic destination previews. */
#map .atlas-shell{max-width:min(1280px,97vw)!important;background:linear-gradient(150deg,#321b48,#162f4b 55%,#372045)!important;border:2px solid #e9bb81!important;box-shadow:0 26px 85px #080f28b3!important;}
#map .atlas-map-visual{aspect-ratio:1000/500!important;background:#174e69!important;background-size:100% 100%!important;}
#map .atlas-map-visual{background-image:var(--atlas-replacement,none)!important;}
#map .atlas-globe{display:none!important;}
#map .atlas-compass,#map .atlas-map-watermark{display:none!important;}
#map .atlas-pin{width:47px!important;height:47px!important;display:block!important;opacity:.94;transform:translate(-50%,-50%)!important;}
#map .atlas-pin-core{border:0!important;width:100%!important;height:100%!important;background:transparent!important;box-shadow:none!important;color:transparent!important;font-size:0!important;border-radius:50%!important;}
#map .atlas-pin-tip{display:none!important;}
#map .atlas-pin.active .atlas-pin-core,#map .atlas-pin:focus-visible .atlas-pin-core{box-shadow:0 0 0 3px #ffeebaab,0 0 20px #ffdc89bb!important;background:#fff2aa14!important;}
#map .atlas-pin:hover .atlas-pin-core{background:#ffe6aa20!important;box-shadow:0 0 0 2px #ffe3aaa9!important;}
#map .atlas-spotlight{border:2px solid #e6c38f!important;color:#63415a!important;background:linear-gradient(145deg,#fffaf0,#f8e5cd)!important;box-shadow:inset 0 0 0 3px #fff9e5,0 12px 24px #0e1b3454!important;}
#map .atlas-spotlight p{color:#795968!important;}
#map .atlas-footnote{color:#987681!important;}
#map .atlas-spotlight h3{color:#783c59!important;}
#map .atlas-map-panel{border:2px solid #e9bb80!important;align-self:start!important;}
#map .atlas-stop.selected{border-color:#f5cd8d!important;background:#f7c46e36!important;}
#map .atlas-header p{color:#f5d8de!important;}
#map .atlas-header h2{font-size:clamp(29px,3vw,44px)!important;}
#map .atlas-spotlight-art{height:clamp(154px,16vw,195px)!important;}
@media(max-height:690px){#singaporeRoot #sg-modal .sg-modal-card{padding:9px 13px!important;max-height:95dvh!important}#singaporeRoot #sg-modal .sg-modal-card .sg-stage{height:clamp(160px,34vh,235px)!important}#singaporeRoot #sg-modal .sg-modal-card .sg-caption p{font-size:14px!important;line-height:1.28!important}#singaporeRoot #sg-modal .sg-modal-card .sg-name{font-size:17px!important;padding:3px 11px!important}#singaporeRoot #sg-modal .sg-modal-card .sg-actions{margin-top:7px!important}#singaporeRoot #sg-modal .sg-modal-card .sg-button{min-height:37px!important;padding:7px 11px!important;font-size:12px!important}}
@media(max-width:720px){#singaporeRoot #sg-modal .sg-modal-card{width:96vw!important;padding:10px 12px!important}#singaporeRoot #sg-modal .sg-modal-card .sg-stage{height:clamp(185px,36vh,280px)!important}#singaporeRoot #sg-modal .sg-modal-card .sg-caption{padding:8px 11px!important}#singaporeRoot #sg-modal .sg-modal-card .sg-caption p{font-size:13px!important;line-height:1.31!important}#singaporeRoot #sg-modal .sg-modal-card .sg-overline{font-size:9px!important;letter-spacing:1.4px!important}#singaporeRoot #sg-modal .sg-modal-card .sg-button{flex:1 1 auto!important;font-size:12px!important}#map .atlas-shell{padding:10px!important}#map .atlas-pin{width:30px!important;height:30px!important}}


/* Recovered CSS section 21: 21-cinematic-focus.css */

#singaporeRoot.sg-cinematic-active .sg-top,
#singaporeRoot.sg-cinematic-active .sg-quest,
#singaporeRoot.sg-cinematic-active .sg-hint,
#singaporeRoot.sg-cinematic-active .sg-mobile,
#singaporeRoot.sg-cinematic-active #sg-toast{visibility:hidden!important;pointer-events:none!important;opacity:0!important;}


/* Recovered CSS section 22: 22-singapore-final-polish.css */

#map .atlas-map-art{position:absolute!important;inset:0!important;display:block!important;width:100%!important;height:100%!important;object-fit:fill!important;z-index:1!important;pointer-events:none!important;user-select:none!important;}

/* Adventure atlas: use the full original proportions of the illustrated map.
   Its bespoke title banner and footplate are INSIDE the artwork; do not double-render them. */
#map .atlas-shell{width:min(1280px,96vw)!important;max-width:96vw!important;max-height:96dvh!important;overflow:auto!important;padding:clamp(11px,1.5vw,20px)!important;border:2px solid #f1c993!important;border-radius:27px!important}
#map .atlas-layout{display:grid!important;grid-template-columns:minmax(0,1.65fr) minmax(245px,.78fr)!important;gap:clamp(9px,1.2vw,15px)!important;align-items:start!important}
#map .atlas-map-panel{align-self:start!important;border:2px solid #e7b778!important;background:#182e51!important;overflow:hidden!important;border-radius:21px!important}
#map .atlas-map-top,#map .atlas-map-bottom{display:none!important}
#map .atlas-map-visual{aspect-ratio:1586 / 992!important;min-height:0!important;width:100%!important;background-position:center!important;background-repeat:no-repeat!important;background-size:100% 100%!important;border:0!important;border-radius:19px!important;overflow:hidden!important}
#map .atlas-map-visual::before,#map .atlas-map-visual::after{display:none!important;content:none!important}
#map .atlas-globe,#map .atlas-compass,#map .atlas-map-watermark{display:none!important}
/* Labels are painted into the artwork. Buttons are clean transparent hotspots
   aligned to those exact painted labels; no duplicate pin icons, outlines or text. */
#map .atlas-pin{width:15.1%!important;height:8.9%!important;min-height:30px!important;border:0!important;opacity:1!important;background:transparent!important;transform:translate(-50%,-50%)!important;filter:none!important;display:flex!important;align-items:stretch!important;justify-content:stretch!important;padding:1px!important;cursor:pointer!important;border-radius:18px!important;touch-action:manipulation!important}
#map .atlas-pin-core{width:100%!important;height:100%!important;background:transparent!important;border:2px solid transparent!important;box-shadow:none!important;border-radius:19px!important;font-size:0!important;color:transparent!important;transform:none!important;transition:border-color .18s,box-shadow .18s,background .18s!important}
#map .atlas-pin-tip{display:none!important}
#map .atlas-pin.active .atlas-pin-core{background:rgba(255,235,151,.075)!important;border-color:rgba(255,240,176,.5)!important;box-shadow:0 0 14px #ffe0a354!important;transform:none!important}
#map .atlas-pin:hover .atlas-pin-core,#map .atlas-pin:focus-visible .atlas-pin-core{background:rgba(255,237,168,.12)!important;border-color:#fff0b4!important;box-shadow:0 0 20px #ffe6a682!important;transform:none!important}
#map .atlas-pin:focus-visible{outline:2px solid #fff2bd!important;outline-offset:2px!important}
#map .atlas-pin[data-destination="singapore"]{width:17%!important}
#map .atlas-pin[data-destination="sydney"]{width:16%!important}
#map .atlas-spotlight{background:linear-gradient(160deg,#fffaf0,#ffe7cf)!important;color:#5d3953!important;border:2px solid #f0c58f!important;border-radius:21px!important;min-width:0!important;padding:clamp(12px,1.5vw,18px)!important;box-shadow:0 10px 30px #10152e4e!important}
#map .atlas-spotlight p{color:#65475f!important;font-size:clamp(12px,1vw,14px)!important;line-height:1.42!important}
#map .atlas-spotlight h3{font-size:clamp(23px,2vw,29px)!important;line-height:1.13!important}
#map .atlas-spotlight-art{height:clamp(132px,15vw,174px)!important;border:3px solid #fff6df!important;border-radius:16px!important}
#map .atlas-spotlight-art img{display:block;width:100%!important;height:100%!important;object-fit:cover!important}
#map .atlas-header{margin-bottom:12px!important}
#map .atlas-header h2{font-size:clamp(25px,2.9vw,39px)!important}
#map .atlas-stops{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:6px!important;margin-top:11px!important}
#map .atlas-stop{min-height:42px!important;padding:7px!important;font-size:clamp(9px,.75vw,11px)!important}
#map .atlas-stop span{font-size:15px!important}
/* The opening country card matches Sakura/Guilin and uses just two independent
   character assets, never characters baked into a background plus clones. */
#singaporeRoot #sg-modal .sg-modal-card.country-start{box-sizing:border-box!important;width:min(900px,94vw)!important;max-height:min(94dvh,790px)!important;overflow:auto!important;padding:12px 15px 14px!important;border-radius:27px!important;background:linear-gradient(145deg,#fff8ea,#f6dfcb)!important}
#singaporeRoot #sg-modal .sg-modal-card.country-start .sg-cinematic{height:auto!important;display:flex!important;flex-direction:column!important;min-height:0!important;border-radius:22px!important;overflow:hidden!important;border:2px solid #e8bd90!important}
#singaporeRoot #sg-modal .sg-modal-card.country-start .sg-stage{height:clamp(245px,42vh,388px)!important;flex:none!important;overflow:hidden!important;position:relative!important;background:#7396a1!important}
#singaporeRoot #sg-modal .sg-modal-card.country-start .sg-scene-art{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 43%!important}
#singaporeRoot #sg-modal .sg-modal-card.country-start .sg-character.sg-cine-amba{left:7%!important;right:auto!important;top:auto!important;bottom:3%!important;width:15%!important;height:auto!important;max-height:56%!important;display:block!important;object-fit:contain!important}
#singaporeRoot #sg-modal .sg-modal-card.country-start .sg-prop-character.cart-peek{left:auto!important;right:6%!important;top:auto!important;bottom:2%!important;width:29%!important;height:auto!important;max-height:66%!important;display:block!important;object-fit:contain!important}
#singaporeRoot #sg-modal .sg-modal-card.country-start .sg-caption{position:relative!important;inset:auto!important;left:auto!important;bottom:auto!important;right:auto!important;width:100%!important;box-sizing:border-box!important;border:0!important;border-top:2px solid #e6c39a!important;border-radius:0!important;padding:11px 17px 13px!important;background:#fff8ed!important;box-shadow:none!important}
#singaporeRoot #sg-modal .sg-modal-card.country-start .sg-name{transform:none!important;margin:0 0 7px!important;font-size:clamp(18px,2vw,24px)!important;padding:5px 16px!important}
#singaporeRoot #sg-modal .sg-modal-card.country-start .sg-caption p{font-size:clamp(15px,1.5vw,18px)!important;line-height:1.38!important;margin:0 25px 0 0!important}
#singaporeRoot #sg-modal .sg-modal-card.country-start .sg-actions{margin:11px 2px 0!important}
#singaporeRoot #sg-modal .sg-modal-card.country-start .sg-button{min-height:43px!important;padding:9px 17px!important}
/* Less-obstructive mission HUD and no large touch buttons over keyboard gameplay. */
#singaporeRoot .sg-quest{width:min(355px,34vw)!important;max-width:calc(100vw - 28px)!important;padding:13px 15px!important;top:clamp(73px,10vw,102px)!important;left:clamp(10px,1.7vw,25px)!important;background:rgba(18,50,70,.88)!important;backdrop-filter:blur(6px)!important}
#singaporeRoot .sg-quest strong{font-size:clamp(14px,1.2vw,17px)!important;line-height:1.28!important;margin:6px 0 9px!important}
#singaporeRoot .sg-quest>b{font-size:11px!important}
#singaporeRoot .sg-quest .sg-timeline{margin-top:10px!important}
#singaporeRoot .sg-quest #sg-boss-hud{font-size:13px!important;margin-top:9px!important}
#singaporeRoot .sg-stats{gap:5px!important;font-size:11px!important}
#singaporeRoot .sg-stats>span{padding:4px 7px!important}
@media (hover:hover) and (pointer:fine) and (min-width:900px){#singaporeRoot .sg-mobile{display:none!important}#singaporeRoot .sg-hint{bottom:18px!important;opacity:.84!important;padding:6px 14px!important;font-size:11px!important}}
@media(max-width:900px){#map .atlas-layout{grid-template-columns:1fr!important}#map .atlas-spotlight{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(190px,1fr)!important;gap:8px 13px!important}#map .atlas-spotlight-art{grid-column:2;grid-row:1/span 4!important;height:145px!important}#map .atlas-stops{grid-template-columns:repeat(3,minmax(0,1fr))!important}#map .atlas-map-visual{max-height:none!important}#singaporeRoot .sg-quest{width:min(325px,53vw)!important}}
@media(max-width:590px){#map .atlas-spotlight{display:flex!important;flex-direction:column!important}#map .atlas-spotlight-art{height:135px!important}#map .atlas-stops{grid-template-columns:repeat(2,minmax(0,1fr))!important}#map .atlas-pin{min-height:19px!important}#singaporeRoot #sg-modal .sg-modal-card.country-start .sg-stage{height:clamp(175px,32vh,250px)!important}#singaporeRoot #sg-modal .sg-modal-card.country-start .sg-caption{padding:8px 11px!important}#singaporeRoot #sg-modal .sg-modal-card.country-start .sg-caption p{font-size:13px!important;line-height:1.32!important}#singaporeRoot #sg-modal .sg-modal-card.country-start .sg-character.sg-cine-amba{width:18%!important}#singaporeRoot #sg-modal .sg-modal-card.country-start .sg-prop-character.cart-peek{width:36%!important;right:1%!important}#singaporeRoot .sg-quest{width:min(280px,64vw)!important;top:73px!important;padding:9px 10px!important}}


/* Recovered CSS section 23: 23-singapore-ring-art.css */
:root{--atlas-v72-ring:url("../assets/singapore/315-sg-v72-atlas-circle.webp");}

/* Recovered CSS section 24: 24-singapore-platforms-and-map.css */

#map .atlas-map-visual .atlas-pin{
  width:clamp(30px,3.35vw,48px)!important;
  height:clamp(30px,3.35vw,48px)!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:50%!important;
  clip-path:circle(50% at 50%)!important;
  overflow:visible!important;
  transform:translate(-50%,-50%)!important;
  filter:none!important;
  background:transparent!important;
  box-shadow:none!important;
  outline-offset:2px!important;
  cursor:pointer!important;
  display:grid!important;
  place-items:center!important;
}
#map .atlas-map-visual .atlas-pin .atlas-pin-core{
  width:100%!important;height:100%!important;
  border:0!important;border-radius:50%!important;
  padding:0!important;margin:0!important;
  background:transparent!important;
  box-shadow:none!important;
  transform:none!important;
}
#map .atlas-map-visual .atlas-pin::after{
  content:'';position:absolute;inset:-1px;display:block;
  border-radius:50%;pointer-events:none;
  background:var(--atlas-v72-ring) center/100% 100% no-repeat;
  opacity:0;transform:scale(.92);transition:opacity .15s,transform .15s;
}
#map .atlas-map-visual .atlas-pin:hover::after,
#map .atlas-map-visual .atlas-pin:focus-visible::after{opacity:1;transform:scale(1)}
#map .atlas-map-visual .atlas-pin.active:not(:hover):not(:focus-visible) .atlas-pin-core{
  border:2px solid rgba(255,244,190,.55)!important;
  box-shadow:0 0 10px rgba(255,222,149,.6)!important;
}
#map .atlas-map-visual .atlas-pin:hover,
#map .atlas-map-visual .atlas-pin:focus-visible{
  box-shadow:0 0 0 2px #fff0b6,0 0 0 5px rgba(247,179,111,.45),0 0 15px rgba(255,231,179,.8)!important;
}
#map .atlas-map-visual .atlas-pin:hover .atlas-pin-core,
#map .atlas-map-visual .atlas-pin:focus-visible .atlas-pin-core{
  box-shadow:inset 0 0 5px rgba(255,252,214,.46)!important;
  background:rgba(255,236,158,.05)!important;
}
#map .atlas-map-visual .atlas-pin:focus-visible{outline:2px solid #fff1b8!important}
@media(max-width:720px){#map .atlas-map-visual .atlas-pin{width:clamp(24px,5vw,32px)!important;height:clamp(24px,5vw,32px)!important}}


/* Recovered CSS section 25: 25-atlas-circle-overrides.css */

/* Actual painted medallion positions on the fixed-ratio atlas (not the labels). */
#map .atlas-map-visual .atlas-pin{width:clamp(31px,3.35vw,46px)!important;height:clamp(31px,3.35vw,46px)!important;clip-path:none!important;border-radius:50%!important;z-index:7!important;outline:none!important;overflow:visible!important;}
#map .atlas-map-visual .atlas-pin::after{inset:-6px!important;border-radius:50%!important;opacity:0!important;background:var(--atlas-v72-ring) center/100% 100% no-repeat!important;transition:opacity .13s,transform .13s!important;}
#map .atlas-map-visual .atlas-pin:hover::after,#map .atlas-map-visual .atlas-pin:focus-visible::after{opacity:1!important;transform:scale(1)!important}
#map .atlas-map-visual .atlas-pin:focus-visible{outline:2px solid #fff1b1!important;outline-offset:4px!important}
#map .atlas-map-visual .atlas-pin.active:not(:hover):not(:focus-visible) .atlas-pin-core{border-radius:50%!important}


/* Recovered CSS section 26: 26-baton-hires-ui.css */

/* Crisp v78 pair poses float over the existing scenery, not a blown-up flattened painting. */
#singaporeRoot .sg-stage .sg-v78-handover-panel{position:absolute;display:block;left:50%;bottom:-5%;transform:translateX(-50%);height:108%;width:auto;max-width:92%;object-fit:contain;z-index:5;image-rendering:auto;filter:drop-shadow(0 8px 15px rgba(33,23,52,.22));pointer-events:none}
#singaporeRoot .sg-stage .sg-v78-handover-panel[hidden]{display:none!important}
#singaporeRoot .sg-modal-card.mission-card .sg-stage,#singaporeRoot .sg-modal-card.baton-finish .sg-stage{overflow:hidden!important;background-color:#608da9!important;background-position:center 35%!important}
#singaporeRoot .sg-modal-card.mission-card .sg-scene-art,#singaporeRoot .sg-modal-card.baton-finish .sg-scene-art{object-fit:cover!important;object-position:center 60%!important;opacity:.87}
@media(max-width:700px){#singaporeRoot .sg-stage .sg-v78-handover-panel{max-width:95%;height:104%;bottom:-4%}}
@media(prefers-reduced-motion:reduce){#singaporeRoot .sg-stage .sg-v78-handover-panel{animation:none!important}}


/* Recovered CSS section 27: 27-singapore-portrait-fixes.css */

#singaporeRoot .sg-stage .sg-v78-handover-panel{position:absolute;display:block;left:50%;bottom:-1.5%;transform:translateX(-50%);height:102%;width:auto;max-width:90%;object-fit:contain;z-index:5;image-rendering:auto;filter:drop-shadow(0 8px 15px rgba(33,23,52,.22));pointer-events:none}
#singaporeRoot .sg-stage .sg-v78-handover-panel[hidden]{display:none!important}
@media (max-width:700px){#singaporeRoot .sg-stage .sg-v78-handover-panel{height:98%;max-width:92%;bottom:0%}}
@media (orientation:portrait) and (max-width:820px){#singaporeRoot .sg-modal-card.mission-card .sg-stage,#singaporeRoot .sg-modal-card.baton-finish .sg-stage{height:min(42vh,330px)!important}#singaporeRoot .sg-stage .sg-v78-handover-panel{height:88%;max-width:min(86vw,420px);bottom:1%;left:50%;transform:translateX(-50%)}#singaporeRoot .sg-modal-card.mission-card .sg-caption,#singaporeRoot .sg-modal-card.baton-finish .sg-caption{padding-top:10px!important}}
@media (orientation:portrait) and (max-width:460px){#singaporeRoot .sg-stage .sg-v78-handover-panel{height:84%;max-width:82vw;bottom:2%}}


/* Recovered CSS section 28: 28-singapore-passport-reveal.css */

#passport .collection-book.sg-reveal-singapore #sg-pass-stamp{opacity:0;transform:scale(1.9) rotate(10deg);animation:sgStampDrop .9s cubic-bezier(.18,.92,.24,1.04) .05s forwards!important}
#passport .collection-book.sg-reveal-singapore #sg-pass-star{opacity:0;transform:scale(.35) translateY(18px);filter:grayscale(0) saturate(1.05) drop-shadow(0 0 0 rgba(0,0,0,0));animation:sgPassportStarIn .95s cubic-bezier(.18,.9,.24,1.1) .08s forwards!important}
#passport .collection-book.sg-reveal-singapore #sg-pass-star img{filter:drop-shadow(0 16px 20px rgba(76,78,124,.18)) drop-shadow(0 0 16px rgba(255,221,120,.55));}
#passport .collection-book.sg-reveal-singapore .passport-singapore-page .sg-passport-postcard{animation:sgPassportPostGlow .95s ease-out both}
#passport .collection-book.sg-reveal-singapore .passport-singapore-page .collection-status{color:#8d3158;font-weight:900}
@keyframes sgPassportStarIn{0%{opacity:0;transform:scale(.3) translateY(26px)}65%{opacity:1;transform:scale(1.14) translateY(-3px)}100%{opacity:1;transform:scale(1) translateY(0)}}
@keyframes sgPassportPostGlow{0%{box-shadow:0 0 0 rgba(0,0,0,0)}100%{box-shadow:0 10px 26px rgba(53,53,91,.18), inset 0 0 0 2px rgba(255,244,195,.28)}}


/* Recovered CSS section 29: 29-singapore-portrait-cinematic.css */

/* Avoid cutting off either character in the original baton sprite on portrait phones. */
@media (orientation:portrait) and (max-width:820px){
  #singaporeRoot.sg-cinematic-active #singaporeCanvas{object-position:center center!important;}
  #singaporeRoot .sg-modal-card.mission-card .sg-stage,
  #singaporeRoot .sg-modal-card.baton-finish .sg-stage{height:min(40vh,320px)!important;}
  #singaporeRoot .sg-stage .sg-v78-handover-panel{
    left:50%!important;bottom:1%!important;height:84%!important;
    width:auto!important;max-width:84%!important;transform:translateX(-50%)!important;
    object-fit:contain!important;object-position:center center!important;
    image-rendering:auto!important;
  }
}


/* Recovered CSS section 30: 30-singapore-victory-polish.css */

#singaporeRoot #sg-modal .sg-modal-card.victory-card .sg-stage{position:relative!important;overflow:hidden!important}
#singaporeRoot #sg-modal .sg-modal-card.victory-card .sg-stage .sg-scene-art{object-position:center 58%!important;opacity:.90!important}
#singaporeRoot #sg-modal .sg-modal-card.victory-card .sg-v82-win-panel{
 position:absolute!important;left:50%!important;bottom:0%!important;transform:translateX(-50%)!important;
 height:100%!important;width:auto!important;max-width:90%!important;object-fit:contain!important;
 display:block!important;z-index:6!important;image-rendering:auto!important;
 filter:drop-shadow(0 7px 11px rgba(28,29,54,.28));pointer-events:none!important;
}
#singaporeRoot #sg-modal .sg-modal-card.victory-card .sg-v82-win-panel[hidden]{display:none!important}
@media(orientation:portrait) and (max-width:820px){
 #singaporeRoot #sg-modal .sg-modal-card.victory-card .sg-stage{height:min(34vh,280px)!important}
 #singaporeRoot #sg-modal .sg-modal-card.victory-card .sg-v82-win-panel{height:94%!important;max-width:84%!important;bottom:0%!important}
}
@media(max-width:410px){
 #singaporeRoot #sg-modal .sg-modal-card.victory-card .sg-v82-win-panel{max-width:81%!important;height:89%!important}
}
@media(prefers-reduced-motion:reduce){
 #singaporeRoot #sg-modal .sg-modal-card.victory-card .sg-v82-win-panel{animation:none!important}
}


/* Recovered CSS section 31: 31-singapore-victory-fixes.css */

#singaporeRoot #sg-modal .sg-modal-card.country-start .sg-scene-art{object-position:center center!important}
#singaporeRoot #sg-modal .sg-modal-card.victory-card .sg-scene-art{object-position:center center!important;opacity:1!important}
#singaporeRoot #sg-modal .sg-modal-card.victory-card .sg-v82-win-panel{height:72%!important;max-width:68%!important;bottom:-2%!important;filter:drop-shadow(0 10px 16px rgba(0,0,0,.18));}
@media (orientation:portrait) and (max-width:820px){
  #singaporeRoot #sg-modal .sg-modal-card.victory-card .sg-stage{height:min(36vh,300px)!important}
  #singaporeRoot #sg-modal .sg-modal-card.victory-card .sg-v82-win-panel{height:66%!important;max-width:72%!important;bottom:-1%!important}
}
@media (orientation:portrait) and (max-width:460px){
  #singaporeRoot #sg-modal .sg-modal-card.victory-card .sg-v82-win-panel{height:62%!important;max-width:78%!important}
}


/* Recovered CSS section 32: 32-singapore-portrait-victory-card.css */

#singaporeRoot #sg-modal .sg-modal-card.victory-card .sg-stage{background:#7956b2!important}
#singaporeRoot #sg-modal .sg-modal-card.victory-card .sg-scene-art{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;opacity:1!important}
@media (orientation:portrait) and (max-width:820px){
 #singaporeRoot #sg-modal .sg-modal-card.victory-card .sg-scene-art{object-fit:contain!important;background:linear-gradient(145deg,#f49ab9,#7552ae)!important}
}


/* Recovered CSS section 33: 33-world-map-hit-targets.css */

/* Destination markers stay static and clean. No animated rings, pulses or circles. */
#map .atlas-map-visual .atlas-pin,
#map .atlas-map-visual .atlas-pin:hover,
#map .atlas-map-visual .atlas-pin.active,
#map .atlas-map-visual .atlas-pin:focus-visible{
 display:flex!important; flex-direction:column!important;align-items:center!important;
 justify-content:center!important;gap:1px!important;position:absolute!important;
 width:86px!important;height:60px!important;min-width:0!important;
 padding:4px!important;box-sizing:border-box!important;
 transform:translate(-50%,-50%)!important;opacity:1!important;
 background:none!important;border:0!important;border-radius:0!important;
 outline:0!important;filter:none!important;box-shadow:none!important;
 animation:none!important;transition:none!important;touch-action:manipulation!important;
 -webkit-tap-highlight-color:transparent!important;
}
#map .atlas-map-visual .atlas-pin::before,
#map .atlas-map-visual .atlas-pin::after,
#map .atlas-map-visual .atlas-pin .atlas-pin-core::before,
#map .atlas-map-visual .atlas-pin .atlas-pin-core::after{content:none!important;display:none!important;animation:none!important}
#map .atlas-map-visual .atlas-pin .atlas-pin-core,
#map .atlas-map-visual .atlas-pin:hover .atlas-pin-core,
#map .atlas-map-visual .atlas-pin.active .atlas-pin-core,
#map .atlas-map-visual .atlas-pin:focus-visible .atlas-pin-core{
 display:grid!important;place-items:center!important;
 width:28px!important;height:27px!important;border:0!important;
 border-radius:0!important;background:none!important;color:#fff8db!important;
 font-size:20px!important;line-height:1!important;
 text-shadow:0 2px 5px #082c46!important;
 box-shadow:none!important;outline:0!important;filter:none!important;
 transform:none!important;animation:none!important;transition:none!important;
}
#map .atlas-map-visual .atlas-pin .atlas-pin-tip,
#map .atlas-map-visual .atlas-pin[data-destination="guilin"] .atlas-pin-tip,
#map .atlas-map-visual .atlas-pin[data-destination="japan"] .atlas-pin-tip{
 display:block!important;position:static!important;transform:none!important;
 border-radius:5px!important;background:#19374bbb!important;
 border:1px solid #ffedc788!important;color:#fff8e9!important;
 padding:3px 6px!important;font:800 10px/1.1 system-ui!important;
 letter-spacing:0!important;white-space:nowrap!important;
 text-shadow:0 1px 2px #112b40!important;
 animation:none!important;transition:none!important;
}
#map .atlas-map-visual .atlas-pin.active .atlas-pin-tip,
#map .atlas-map-visual .atlas-pin.selected .atlas-pin-tip{
 background:#253c51e8!important;border-color:#ffdc98!important;
}
#map .atlas-map-visual .atlas-pin:focus-visible .atlas-pin-tip{
 outline:2px solid #ffe0a0!important;outline-offset:2px!important;
}
/* Override older v72/v73 higher-specificity ring and hover styles as well. */
#map .atlas-map-visual .atlas-pin.active:not(:hover):not(:focus-visible) .atlas-pin-core,
#map .atlas-map-visual .atlas-pin:hover .atlas-pin-core,
#map .atlas-map-visual .atlas-pin:focus-visible .atlas-pin-core{
 border:0!important;box-shadow:none!important;background:none!important;border-radius:0!important;
 filter:none!important;transform:none!important;
}
#map .atlas-map-visual .atlas-pin:hover::after,
#map .atlas-map-visual .atlas-pin:focus-visible::after,
#map .atlas-map-visual .atlas-pin.active::after{
 display:none!important;content:none!important;opacity:0!important;
 background:none!important;box-shadow:none!important;animation:none!important;
}
#map .atlas-map-visual .atlas-pin{clip-path:none!important;overflow:visible!important}
#map .atlas-route{animation:none!important;filter:none!important}
@media (hover:none), (pointer:coarse){
 #map .atlas-map-visual .atlas-pin{pointer-events:none!important}
}
@media (max-width:680px){
 #map .atlas-map-visual .atlas-pin{width:44px!important;height:44px!important;padding:0!important}
 #map .atlas-map-visual .atlas-pin .atlas-pin-core{width:24px!important;height:26px!important;font-size:21px!important}
 #map .atlas-map-visual .atlas-pin .atlas-pin-tip,
 #map .atlas-map-visual .atlas-pin[data-destination="guilin"] .atlas-pin-tip,
 #map .atlas-map-visual .atlas-pin[data-destination="japan"] .atlas-pin-tip{display:none!important}
 #map .atlas-map-top,#map .atlas-map-bottom{letter-spacing:.5px!important}
}


/* Recovered CSS section 34: 34-world-map-invisible-targets.css */

/* The full-color map already has six illustrated medallions and labels.
   Keep all six native buttons accessible but do not draw duplicate icons. */
#map .atlas-map-visual .atlas-pin,
#map .atlas-map-visual .atlas-pin:hover,
#map .atlas-map-visual .atlas-pin.active,
#map .atlas-map-visual .atlas-pin.selected {
  background:transparent!important;border-color:transparent!important;
  box-shadow:none!important;filter:none!important;
}
#map .atlas-map-visual .atlas-pin .atlas-pin-core,
#map .atlas-map-visual .atlas-pin .atlas-pin-tip,
#map .atlas-map-visual .atlas-pin:hover .atlas-pin-core,
#map .atlas-map-visual .atlas-pin.active .atlas-pin-core,
#map .atlas-map-visual .atlas-pin:focus-visible .atlas-pin-core,
#map .atlas-map-visual .atlas-pin:hover .atlas-pin-tip,
#map .atlas-map-visual .atlas-pin.active .atlas-pin-tip,
#map .atlas-map-visual .atlas-pin:focus-visible .atlas-pin-tip {
  visibility:hidden!important;opacity:0!important;
  background:none!important;box-shadow:none!important;
  border-color:transparent!important;pointer-events:none!important;
}
/* Keyboard navigation retains a rectangular focus outline, not an animated ring. */
#map .atlas-map-visual .atlas-pin:focus-visible {
  outline:2px solid #ffe0a0!important;outline-offset:2px!important;
}


/* Recovered CSS section 35: 35-country-orientation.css */

/* Preserve the exact landscape rendering. Portrait is an intentionally cropped,
   player-following camera rather than a tiny letterboxed landscape game. */
#ambaMobileOrientation[hidden]{display:none!important}
#ambaMobileOrientation{position:fixed;inset:0;z-index:99999;display:grid;place-items:center;background:rgba(15,22,41,.89);backdrop-filter:blur(10px);padding:max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));font-family:Trebuchet MS,system-ui,sans-serif}
#ambaMobileOrientation .amba-orient-card{width:min(386px,96vw);background:linear-gradient(155deg,#fffaf0,#ffe6ce);color:#513551;border:2px solid #ffd7a6;border-radius:23px;padding:23px 20px 21px;box-shadow:0 20px 60px #0008;text-align:center}
#ambaMobileOrientation .amba-orient-glyph{font-size:34px;color:#bd6c85;line-height:1.15}
#ambaMobileOrientation .amba-orient-eyebrow{font-weight:900;letter-spacing:1.5px;color:#a65a72;font-size:10px;margin:7px 0}
#ambaMobileOrientation h2{font:900 clamp(22px,5vw,29px) Georgia,serif;line-height:1.13;color:#633a60;margin:7px 0 12px}
#ambaMobileOrientation p{font-size:13px;line-height:1.5;margin:0 0 16px;color:#6c5261}
#ambaMobileOrientation .amba-orient-actions{display:grid;gap:9px}
#ambaMobileOrientation button{min-height:47px;padding:10px 15px;border-radius:13px;border:1px solid #b87880;font-size:14px;font-weight:900;touch-action:manipulation}
#ambaOrientPortrait{background:linear-gradient(110deg,#f8bc83,#e87c91);color:#3b2d46}
#ambaOrientLandscape{background:#563858;color:#fff6e7}
#ambaMobileOrientation .amba-orient-hint{font-size:11px;font-weight:750;margin-top:11px;min-height:18px;color:#8b5268}
@media (pointer:coarse) and (orientation:portrait) and (max-width:820px){
 body.amba-sakura-portrait-play #shell #game{object-fit:cover!important;object-position:center center!important;image-rendering:auto!important}
 body.amba-sakura-portrait-play #shell .rotate-tip{display:none!important}
 body.amba-sakura-portrait-play #shell #top{top:7px;left:8px;right:8px;gap:6px}
 body.amba-sakura-portrait-play #shell .logo{font-size:16px}
 body.amba-sakura-portrait-play #shell .subtitle{font-size:8px;max-width:115px;letter-spacing:0}
 body.amba-sakura-portrait-play #shell .tools{gap:3px;display:grid;grid-template-columns:repeat(2,auto)}
 body.amba-sakura-portrait-play #shell .tool{padding:5px 6px;border-radius:8px;font-size:9px;min-height:28px}
 body.amba-sakura-portrait-play #shell .hud{top:77px;left:8px;right:8px;display:flex;gap:4px;align-items:flex-start}
 body.amba-sakura-portrait-play #shell .chip{padding:5px 7px;font-size:9px;border-radius:9px;max-width:calc(100vw - 16px)}
 body.amba-sakura-portrait-play #shell .hud .chip:first-child{flex-basis:100%;max-width:100%;font-size:11px}
 body.amba-sakura-portrait-play #shell .hud #extraQuest{display:none!important}
 body.amba-sakura-portrait-play #shell .touch{display:flex!important;bottom:max(12px,env(safe-area-inset-bottom))}
 body.amba-sakura-portrait-play #shell .touch.move-pad{left:max(8px,env(safe-area-inset-left));gap:7px}
 body.amba-sakura-portrait-play #shell .touch.action-pad{right:max(8px,env(safe-area-inset-right));gap:7px}
 body.amba-sakura-portrait-play #shell .touch.action-pad [data-key="Space"]{margin-left:0;min-width:56px;height:57px}
 body.amba-sakura-portrait-play #shell .touch button{min-width:45px;height:49px;background:#352b50df;touch-action:none}
 body.amba-sakura-portrait-play #shell .touch button.active{background:#d87387}
 body.amba-sakura-portrait-play #shell .bottom{bottom:84px;left:8px;right:8px;justify-content:center}
 body.amba-sakura-portrait-play #shell .hint{display:none}
 body.amba-sakura-portrait-play #shell .prompt{font-size:11px;padding:7px 10px;max-width:90vw;text-align:center}
 body.amba-sakura-portrait-play #shell #toast{top:29%;font-size:12px;padding:9px 14px;max-width:90vw}
}


