/* ============================================================
   Parcel Empire — Fresh Theme 11.4
   White, mint, teal and aqua player-facing interface.
   Loaded last so the complete game uses one consistent design.
   ============================================================ */
:root{
  --pef-bg:#f4fbfd;
  --pef-bg-2:#eaf8f7;
  --pef-surface:rgba(255,255,255,.96);
  --pef-surface-solid:#fff;
  --pef-surface-soft:#effaf9;
  --pef-ink:#0b2c4b;
  --pef-muted:#65778c;
  --pef-line:rgba(34,108,130,.14);
  --pef-line-strong:rgba(25,184,176,.28);
  --pef-teal:#13bcb3;
  --pef-teal-deep:#07988f;
  --pef-aqua:#1cc8d8;
  --pef-green:#35d76f;
  --pef-green-deep:#13aa45;
  --pef-orange:#ff7a18;
  --pef-orange-soft:#fff4eb;
  --pef-blue:#238cff;
  --pef-purple:#925be8;
  --pef-shadow:0 14px 38px rgba(24,78,96,.13),0 2px 8px rgba(22,78,98,.06);
  --pef-shadow-soft:0 8px 24px rgba(27,83,101,.10);
  --pef-radius:24px;
  --pef-safe-top:env(safe-area-inset-top,0px);
  --pef-safe-right:env(safe-area-inset-right,0px);
  --pef-safe-bottom:env(safe-area-inset-bottom,0px);
  --pef-safe-left:env(safe-area-inset-left,0px);
}

html{background:var(--pef-bg)!important;color-scheme:light!important}
body.pe-fresh-theme{
  color:var(--pef-ink)!important;
  background:
    radial-gradient(circle at 8% 0%,rgba(42,207,220,.13),transparent 28%),
    radial-gradient(circle at 95% 10%,rgba(55,218,113,.12),transparent 26%),
    linear-gradient(180deg,#f8fdff 0%,var(--pef-bg) 52%,#eef9f7 100%)!important;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
body.pe-fresh-theme::before{display:none!important}
body.pe-fresh-theme *{box-sizing:border-box}
body.pe-fresh-theme :is(button,a,input,select,textarea){font-family:inherit}
body.pe-fresh-theme :is(button,a,[role="button"]):focus-visible{outline:3px solid rgba(25,191,181,.42)!important;outline-offset:3px!important}

/* ------------------------------------------------------------
   MAP + HOME SCREEN
   ------------------------------------------------------------ */
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]){
  background:#dff5f2!important;
}
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .gameTopbar{display:none!important}
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) :is(.pe10MapHud,.pe10MapCorners,.atlasStatusStrip,.peLeftRail,.peRightRail,.onlineStatus){display:none!important}
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) :is(#map,.worldShade,.scanGlow){
  top:calc(106px + var(--pef-safe-top))!important;
  bottom:calc(146px + var(--pef-safe-bottom))!important;
  left:0!important;right:0!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
}
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) #map{
  background:#dff5ef!important;
  filter:saturate(1.08) brightness(1.04)!important;
}
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .worldShade{
  display:block!important;
  pointer-events:none!important;
  background:
    linear-gradient(180deg,rgba(245,253,255,.18),transparent 17%,transparent 77%,rgba(244,252,252,.86) 100%),
    radial-gradient(circle at 50% 50%,transparent 42%,rgba(238,250,249,.12) 100%)!important;
  opacity:1!important;
}
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .scanGlow{display:none!important}
body.pe-fresh-theme .mapboxgl-ctrl-group{
  border:1px solid var(--pef-line)!important;border-radius:17px!important;overflow:hidden!important;
  background:rgba(255,255,255,.94)!important;box-shadow:var(--pef-shadow-soft)!important;
}
body.pe-fresh-theme .mapboxgl-ctrl-group button{background:transparent!important}
body.pe-fresh-theme .mapboxgl-ctrl-group button+button{border-top-color:var(--pef-line)!important}
body.pe-fresh-theme .mapboxgl-ctrl-icon{filter:sepia(.25) saturate(.7) hue-rotate(130deg) brightness(.7)!important}
body.pe-fresh-theme .mapboxgl-ctrl-logo,body.pe-fresh-theme .mapboxgl-ctrl-attrib{opacity:.42!important}

/* Three-card HUD from the approved theme. */
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .statsHud{
  position:fixed!important;z-index:1320!important;
  top:calc(10px + var(--pef-safe-top))!important;
  left:calc(10px + var(--pef-safe-left))!important;
  right:calc(10px + var(--pef-safe-right))!important;
  width:auto!important;height:90px!important;
  display:grid!important;grid-template-columns:1.18fr 1fr .82fr!important;gap:9px!important;
  padding:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important;
}
body.pe-fresh-theme .statsHud>.statCard{
  position:relative!important;inset:auto!important;
  width:auto!important;height:90px!important;min-width:0!important;
  display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;grid-template-rows:auto 1fr auto!important;
  grid-template-areas:"icon label" "icon value" "spark spark"!important;
  align-items:center!important;gap:1px 7px!important;
  padding:13px 12px!important;
  border:1px solid var(--pef-line)!important;border-radius:23px!important;
  color:var(--pef-ink)!important;background:var(--pef-surface)!important;
  box-shadow:var(--pef-shadow)!important;backdrop-filter:blur(18px)!important;
}
body.pe-fresh-theme .statsHud>.statCard::before,body.pe-fresh-theme .statsHud>.statCard::after{display:none!important}
body.pe-fresh-theme .statsHud>.statCard .pe10StatIcon{
  grid-area:icon!important;width:31px!important;height:31px!important;display:grid!important;place-items:center!important;
  border:0!important;border-radius:50%!important;font-size:15px!important;background:#e8fbf8!important;color:var(--pef-teal)!important;box-shadow:none!important;
}
body.pe-fresh-theme .statsHud>.statCard span:not(.pe10StatIcon):not(.peFreshSpark){
  grid-area:label!important;color:var(--pef-muted)!important;font-size:9px!important;font-weight:750!important;line-height:1.1!important;
  letter-spacing:0!important;text-transform:none!important;text-align:left!important;white-space:nowrap!important;
}
body.pe-fresh-theme .statsHud>.statCard strong{
  grid-area:value!important;color:var(--pef-ink)!important;font-size:clamp(15px,4.1vw,22px)!important;font-weight:850!important;line-height:1!important;
  letter-spacing:-.035em!important;text-align:left!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  text-shadow:none!important;
}
body.pe-fresh-theme .statsHud>.statCard[data-fresh-stat="rent"] strong{color:var(--pef-teal-deep)!important}
body.pe-fresh-theme .statsHud>.statCard[data-fresh-stat="bucks"]{background:linear-gradient(180deg,#fff,#f5fff7)!important}
body.pe-fresh-theme .statsHud>.statCard[data-fresh-stat="bucks"] .pe10StatIcon{background:linear-gradient(180deg,#60e36d,#16af37)!important;color:#fff!important;box-shadow:inset 0 0 0 2px rgba(255,255,255,.64),0 3px 9px rgba(17,150,48,.24)!important}
body.pe-fresh-theme .statsHud>.statCard[data-fresh-stat="bucks"] strong{color:#219a35!important}
body.pe-fresh-theme .statsHud>.statCard[data-fresh-stat="boost"]{background:linear-gradient(180deg,#fff,#fff8f2)!important;border-color:rgba(255,122,24,.22)!important}
body.pe-fresh-theme .statsHud>.statCard[data-fresh-stat="boost"] .pe10StatIcon{background:var(--pef-orange-soft)!important;color:var(--pef-orange)!important}
body.pe-fresh-theme .statsHud>.statCard[data-fresh-stat="boost"] strong{color:var(--pef-orange)!important}
body.pe-fresh-theme .statsHud>.pe10-parcels,body.pe-fresh-theme .statsHud>.peGpsStatCard{display:none!important}
.peFreshSpark{grid-area:spark!important;position:relative!important;display:block!important;width:100%!important;height:11px!important;margin-top:2px!important;overflow:hidden!important}
.peFreshSpark::before{
  content:"";position:absolute;left:1px;right:2px;top:4px;height:2px;border-radius:999px;background:linear-gradient(90deg,transparent 0 4%,var(--pef-teal) 4% 14%,transparent 14% 18%,var(--pef-teal) 18% 29%,transparent 29% 34%,var(--pef-teal) 34% 49%,transparent 49% 53%,var(--pef-teal) 53% 67%,transparent 67% 70%,var(--pef-teal) 70% 100%);transform:skewY(-4deg)
}
.peFreshSpark i{position:absolute;right:0;top:1px;width:7px;height:7px;border-radius:50%;background:var(--pef-teal);box-shadow:0 0 0 3px rgba(19,188,179,.13)}

/* Phase 11.3: full-screen map. Country/online and GPS/range overlays are removed. */
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) :is(.pe108LocationStrip,.peFreshMapInfo){display:none!important}

/* Country / online strip. */
body.pe-fresh-theme .pe108LocationStrip{
  position:fixed!important;z-index:1320!important;
  top:calc(109px + var(--pef-safe-top))!important;
  left:calc(10px + var(--pef-safe-left))!important;right:calc(10px + var(--pef-safe-right))!important;
  width:auto!important;height:48px!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;
  padding:0 16px!important;border:1px solid var(--pef-line)!important;border-radius:20px!important;
  color:var(--pef-ink)!important;background:rgba(255,255,255,.95)!important;box-shadow:var(--pef-shadow-soft)!important;
  font-size:13px!important;font-weight:760!important;letter-spacing:0!important;text-transform:none!important;pointer-events:none!important;
}
body.pe-fresh-theme .pe108LocationStrip .pe108Flag{font-size:20px!important;filter:drop-shadow(0 2px 3px rgba(20,57,75,.12))}
body.pe-fresh-theme .pe108LocationStrip .pe108Place{font-size:15px!important;font-weight:820!important}
body.pe-fresh-theme .pe108LocationStrip .pe108Spacer{display:block!important;flex:1 1 auto!important}
body.pe-fresh-theme .pe108LocationStrip .pe108Online{display:flex!important;align-items:center!important;gap:7px!important;color:#3e5269!important;font-weight:650!important}
body.pe-fresh-theme .pe108LocationStrip .pe108Online::before{width:8px!important;height:8px!important;background:#35c94a!important;box-shadow:none!important}
body.pe-fresh-theme .pe108LocationStrip .pe108Chevron{font-size:17px!important;color:#3d536b!important}

/* Passive GPS information cards, not controls. */
.peFreshMapInfo{
  position:fixed;z-index:1260;left:calc(12px + var(--pef-safe-left));right:calc(12px + var(--pef-safe-right));
  bottom:calc(151px + var(--pef-safe-bottom));display:grid;grid-template-columns:1fr 1fr;gap:12px;pointer-events:none;
}
.peFreshInfoCard{
  min-height:53px;display:flex;align-items:center;justify-content:center;gap:10px;padding:8px 12px;
  border:1px solid var(--pef-line);border-radius:19px;background:rgba(255,255,255,.94);box-shadow:var(--pef-shadow-soft);color:var(--pef-ink);backdrop-filter:blur(14px);
}
.peFreshInfoIcon{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#e8fbfa;color:var(--pef-teal-deep);font-size:20px;font-weight:900}
.peFreshInfoCard>span:last-child{display:grid;gap:1px;color:var(--pef-muted);font-size:10px;font-weight:700;line-height:1.1}
.peFreshInfoCard strong{color:var(--pef-ink);font-size:15px;font-weight:850}
.peFreshMapInfo[data-state="bad"] .peFreshInfoCard:first-child .peFreshInfoIcon{background:#fff0f1;color:#e74b57}

/* Approved green-to-teal Buy Land button. */
body.pe-fresh-theme .buyLandButton{
  position:fixed!important;z-index:1280!important;
  left:50%!important;right:auto!important;transform:translateX(-50%)!important;
  bottom:calc(83px + var(--pef-safe-bottom))!important;
  width:min(530px,calc(100vw - 24px - var(--pef-safe-left) - var(--pef-safe-right)))!important;
  height:62px!important;min-height:62px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;
  padding:7px 20px!important;border:3px solid rgba(255,255,255,.92)!important;border-radius:23px!important;
  color:#fff!important;background:linear-gradient(105deg,#3ee86b 0%,#12c9a9 48%,#11b8d2 100%)!important;
  box-shadow:0 13px 27px rgba(12,154,143,.25),inset 0 1px 0 rgba(255,255,255,.42)!important;
}
body.pe-fresh-theme .buyLandButton::before,body.pe-fresh-theme .buyLandButton::after{display:none!important}
body.pe-fresh-theme .buyLandButton .pe10BuyIcon{
  width:35px!important;height:35px!important;display:grid!important;place-items:center!important;padding:0!important;border:0!important;border-radius:0!important;
  color:#fff!important;background:transparent!important;box-shadow:none!important;font-size:0!important;
}
body.pe-fresh-theme .buyLandButton .pe10BuyIcon svg{width:31px;height:31px;fill:none;stroke:currentColor;stroke-width:2.25;stroke-linecap:round;stroke-linejoin:round}
body.pe-fresh-theme .buyLandButton .pe10BuyCopy{display:block!important}
body.pe-fresh-theme .buyLandButton .pe10BuyCopy small,body.pe-fresh-theme .buyLandButton .pe10BuyPrice{display:none!important}
body.pe-fresh-theme .buyLandButton .pe10BuyCopy strong{
  color:#fff!important;font-size:22px!important;font-weight:900!important;letter-spacing:.015em!important;text-shadow:0 2px 8px rgba(0,104,105,.18)!important;
}
body.pe-fresh-theme .gpsButton{display:none!important}

/* Five-item navigation identical on every player page. */
body.pe-fresh-theme .bottomNav.peFiveNav{
  position:fixed!important;z-index:1290!important;
  left:calc(8px + var(--pef-safe-left))!important;right:calc(8px + var(--pef-safe-right))!important;
  bottom:calc(5px + var(--pef-safe-bottom))!important;width:auto!important;height:72px!important;
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:3px!important;
  padding:5px 7px!important;border:1px solid var(--pef-line)!important;border-radius:25px!important;
  background:rgba(255,255,255,.97)!important;box-shadow:0 12px 35px rgba(22,74,94,.16)!important;backdrop-filter:blur(18px)!important;
}
body.pe-fresh-theme .bottomNav.peFiveNav .peNavHidden{display:none!important}
body.pe-fresh-theme .bottomNav.peFiveNav button{
  position:relative!important;height:60px!important;min-height:60px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;
  padding:5px 2px!important;border:0!important;border-radius:18px!important;background:transparent!important;color:#6c7b8d!important;box-shadow:none!important;
}
body.pe-fresh-theme .bottomNav.peFiveNav button::after{display:none!important}
body.pe-fresh-theme .bottomNav.peFiveNav .peNavIcon{display:grid!important;place-items:center!important;width:25px!important;height:25px!important;font-size:0!important;color:inherit!important}
body.pe-fresh-theme .bottomNav.peFiveNav .peNavIcon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body.pe-fresh-theme .bottomNav.peFiveNav button>span:last-child{color:inherit!important;font-size:9px!important;font-weight:720!important;line-height:1!important}
body.pe-fresh-theme .bottomNav.peFiveNav button.active{
  color:var(--pef-teal-deep)!important;border:0!important;background:linear-gradient(180deg,#effdf9,#e9faf7)!important;box-shadow:none!important;
}
body.pe-fresh-theme .bottomNav.peFiveNav button.active::before{content:"";position:absolute;top:3px;width:23px;height:3px;border-radius:999px;background:linear-gradient(90deg,var(--pef-green),var(--pef-aqua))}

/* Selected parcel card. */
body.pe-fresh-theme .parcelCard{
  border:1px solid var(--pef-line)!important;border-radius:27px!important;color:var(--pef-ink)!important;
  background:rgba(255,255,255,.98)!important;box-shadow:0 22px 55px rgba(25,77,96,.18)!important;
}
body.pe-fresh-theme .parcelCard :is(h1,h2,h3,strong,dd){color:var(--pef-ink)!important;text-shadow:none!important}
body.pe-fresh-theme .parcelCard :is(.eyebrow,dt,p,small){color:var(--pef-muted)!important}
body.pe-fresh-theme .parcelMiniMap{border-color:var(--pef-line)!important;background:linear-gradient(145deg,#eafff5,#dff7f5)!important}
body.pe-fresh-theme .rarityPill{border:0!important;color:var(--pef-teal-deep)!important;background:#e7fbf7!important}
body.pe-fresh-theme .miniClose{border:1px solid var(--pef-line)!important;color:var(--pef-ink)!important;background:#f3fafb!important}

/* ------------------------------------------------------------
   ROUTE PAGES: DAILY, PARCELS, PROFILE, SHOP, PASSPORT, BOOST
   ------------------------------------------------------------ */
body.pe-fresh-theme:is([data-pe-page="daily"],[data-pe-page="myland"],[data-pe-page="profile"],[data-pe-page="shop"],[data-pe-page="passport"],[data-pe-page="boost"]){
  color:var(--pef-ink)!important;
  background:
    radial-gradient(circle at 10% 0%,rgba(28,200,216,.13),transparent 27%),
    radial-gradient(circle at 95% 6%,rgba(53,215,111,.12),transparent 25%),
    linear-gradient(180deg,#f9fdff,#f1faf9 58%,#edf8f6)!important;
}
body.pe-fresh-theme:is([data-pe-page="daily"],[data-pe-page="myland"],[data-pe-page="profile"],[data-pe-page="shop"],[data-pe-page="passport"],[data-pe-page="boost"]) .sheetPanel,
body.pe-fresh-theme.pe10-subpanel-open .sheetPanel:not([hidden]){
  color:var(--pef-ink)!important;background:transparent!important;
  padding:0 clamp(12px,4vw,42px) calc(104px + var(--pef-safe-bottom))!important;
}
body.pe-fresh-theme:is([data-pe-page="daily"],[data-pe-page="myland"],[data-pe-page="profile"],[data-pe-page="shop"],[data-pe-page="passport"],[data-pe-page="boost"]) .sheetHeader,
body.pe-fresh-theme.pe10-subpanel-open .sheetPanel:not([hidden])>.sheetHeader{
  min-height:calc(72px + var(--pef-safe-top))!important;
  margin:0 calc(clamp(12px,4vw,42px) * -1) 16px!important;
  padding:calc(10px + var(--pef-safe-top)) clamp(13px,4vw,42px) 10px!important;
  border-bottom:1px solid var(--pef-line)!important;
  background:rgba(249,253,255,.92)!important;box-shadow:0 8px 24px rgba(28,79,96,.08)!important;backdrop-filter:blur(20px)!important;
}
body.pe-fresh-theme .sheetHeader .eyebrow{color:var(--pef-teal-deep)!important;font-size:9px!important;font-weight:820!important;letter-spacing:.12em!important}
body.pe-fresh-theme .sheetHeader h2{color:var(--pef-ink)!important;font-size:clamp(23px,5.2vw,31px)!important;text-shadow:none!important}
body.pe-fresh-theme .sheetHeader p{color:var(--pef-muted)!important}
body.pe-fresh-theme .closeSheet{
  width:44px!important;height:44px!important;min-width:44px!important;border:1px solid var(--pef-line)!important;border-radius:15px!important;
  color:var(--pef-ink)!important;background:#fff!important;box-shadow:var(--pef-shadow-soft)!important;
}
body.pe-fresh-theme .closeSheet::before{color:var(--pef-ink)!important;font-size:22px!important}
body.pe-fresh-theme .pe96SheetHandle{display:none!important}

body.pe-fresh-theme .pe10PageHero{
  width:min(1120px,100%)!important;margin:0 auto 16px!important;padding:clamp(17px,4vw,29px)!important;
  border:1px solid var(--pef-line)!important;border-radius:28px!important;
  color:var(--pef-ink)!important;
  background:
    radial-gradient(circle at 88% 10%,rgba(53,215,111,.16),transparent 25%),
    radial-gradient(circle at 10% 10%,rgba(28,200,216,.15),transparent 29%),
    linear-gradient(145deg,#fff,#f4fdfb)!important;
  box-shadow:var(--pef-shadow)!important;
}
body.pe-fresh-theme .pe10PageHero::after{opacity:.12!important;background-image:radial-gradient(circle,var(--pef-teal) 0 1px,transparent 1.4px)!important}
body.pe-fresh-theme .pe10HeroOrb{
  border:0!important;border-radius:22px!important;background:linear-gradient(145deg,#e4fff3,#dff8fb)!important;
  color:var(--pef-teal-deep)!important;box-shadow:inset 0 0 0 1px var(--pef-line),0 10px 22px rgba(24,117,122,.11)!important;
}
body.pe-fresh-theme .pe10HeroOrb img{filter:none!important}
body.pe-fresh-theme .pe10HeroCopy small{color:var(--pef-teal-deep)!important}
body.pe-fresh-theme .pe10HeroCopy h1{color:var(--pef-ink)!important;text-shadow:none!important}
body.pe-fresh-theme .pe10HeroCopy p{color:var(--pef-muted)!important}
body.pe-fresh-theme .pe10HeroBadge{
  border:1px solid var(--pef-line)!important;border-radius:18px!important;color:var(--pef-muted)!important;background:#fff!important;box-shadow:var(--pef-shadow-soft)!important;
}
body.pe-fresh-theme .pe10HeroBadge strong{color:var(--pef-teal-deep)!important}
body.pe-fresh-theme .pe10ProfileStats>div{
  border:1px solid var(--pef-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:var(--pef-shadow-soft)!important;
}
body.pe-fresh-theme .pe10ProfileStats span{color:var(--pef-muted)!important}
body.pe-fresh-theme .pe10ProfileStats strong{color:var(--pef-ink)!important}
body.pe-fresh-theme .pe10SectionTitle{color:var(--pef-ink)!important;font-weight:850!important}
body.pe-fresh-theme .pe10SectionTitle::after{background:linear-gradient(90deg,var(--pef-line-strong),transparent)!important}

/* Universal light cards on every content page. */
body.pe-fresh-theme :is(
  .dailyHero,.dailyTask,.dailyTaskItem,.rentClaimCard,.loginRewardBlock,.dailyRewardDay,
  .portfolioHero>div,.rarityBreakItem,.landTools,.myLandCard,.pe106ParcelCard,.pe106RarityCollect,.pe106CollectionToolbar,
  .shopInfoCard,.shopPackCard,.passportShopCard,.legendaryUpgradeCard,.shopPackGrid>*,.passportShopGrid>*,.legendaryUpgradeGrid>*,
  .passportHero,.passportStats>div,.passportStamp,.badgeCard,.passportStampList>*,.badgeGrid>*,
  .boostHero,.boostStatsGrid>div,.moreGrid>*,.adProviderHero,.adStatsGrid>div,.spinWheelPanel,.safetyCard,.leaderboardCard,
  .placeHero,.placeStatsGrid>div,.placeProgressBlock,.rivalHero,.cashoutHero,.visualSettings,.integrationChecklist
){
  color:var(--pef-ink)!important;border-color:var(--pef-line)!important;
  background:var(--pef-surface)!important;box-shadow:var(--pef-shadow-soft)!important;text-shadow:none!important;
}
body.pe-fresh-theme :is(
  .dailyHero,.rentClaimCard,.loginRewardBlock,.landTools,.shopInfoCard,.passportHero,.boostHero,.adProviderHero,.placeHero,.rivalHero,.cashoutHero,.visualSettings,.integrationChecklist
){border:1px solid var(--pef-line)!important;border-radius:24px!important}
body.pe-fresh-theme :is(.dailyTask,.dailyTaskItem,.dailyRewardDay,.portfolioHero>div,.rarityBreakItem,.myLandCard,.pe106ParcelCard,.pe106RarityCollect,.shopPackGrid>*,.passportShopGrid>*,.legendaryUpgradeGrid>*,.passportStats>div,.passportStampList>*,.badgeGrid>*,.boostStatsGrid>div,.moreGrid>*:not(.pe10MenuSection),.adStatsGrid>div,.placeStatsGrid>div){
  border:1px solid var(--pef-line)!important;border-radius:20px!important;
}
body.pe-fresh-theme :is(.dailyHero,.rentClaimCard,.loginRewardBlock,.portfolioHero,.shopInfoCard,.passportHero,.boostHero,.boostStatsGrid,.passportStats,.moreGrid) :is(h1,h2,h3,strong,b){color:var(--pef-ink)!important;text-shadow:none!important}
body.pe-fresh-theme :is(.dailyHero,.rentClaimCard,.loginRewardBlock,.portfolioHero,.shopInfoCard,.passportHero,.boostHero,.boostStatsGrid,.passportStats,.moreGrid) :is(span,p,small,label){color:var(--pef-muted)!important}
body.pe-fresh-theme .sheetNote,body.pe-fresh-theme .shopNote{color:var(--pef-muted)!important}

/* Buttons. */
body.pe-fresh-theme :is(.primaryAction,.compactAction,.peOpenPortfolio,.login-button){
  min-height:50px!important;border:2px solid rgba(255,255,255,.85)!important;border-radius:17px!important;
  color:#fff!important;background:linear-gradient(105deg,var(--pef-green),var(--pef-teal) 52%,var(--pef-aqua))!important;
  box-shadow:0 9px 22px rgba(13,157,143,.20),inset 0 1px rgba(255,255,255,.38)!important;text-shadow:none!important;
}
body.pe-fresh-theme :is(.ghostAction,.compactGhost){
  min-height:46px!important;border:1px solid var(--pef-line)!important;border-radius:16px!important;
  color:var(--pef-teal-deep)!important;background:#effbf9!important;box-shadow:none!important;text-shadow:none!important;
}
body.pe-fresh-theme :is(input,select,textarea){
  color:var(--pef-ink)!important;border:1px solid var(--pef-line)!important;border-radius:15px!important;background:#fff!important;box-shadow:none!important;
}
body.pe-fresh-theme :is(input,select,textarea)::placeholder{color:#9aa8b5!important}

/* Daily page. */
body.pe-fresh-theme .dailyHero{background:linear-gradient(145deg,#fff,#effdfa)!important}
body.pe-fresh-theme .dailyTaskList{gap:10px!important}
body.pe-fresh-theme .dailyTask :is(.taskIcon,.dailyTaskIcon){background:#e8fbf8!important;color:var(--pef-teal-deep)!important;border:0!important}
body.pe-fresh-theme .dailyRewardCalendar{scrollbar-color:rgba(25,184,176,.3) transparent!important}
body.pe-fresh-theme .dailyRewardDay.active,body.pe-fresh-theme .dailyRewardDay.claimed{border-color:rgba(53,215,111,.38)!important;background:#f1fff5!important}
body.pe-fresh-theme .meter,body.pe-fresh-theme .xpTrack{background:#e9f3f2!important;border-color:transparent!important}
body.pe-fresh-theme .meter>span,body.pe-fresh-theme .xpTrack i{background:linear-gradient(90deg,var(--pef-green),var(--pef-aqua))!important;box-shadow:none!important}

/* Parcels page. */
body.pe-fresh-theme .rarityBreakdown{background:transparent!important}
body.pe-fresh-theme .pe106ParcelVisual,body.pe-fresh-theme .myLandThumb{
  border-radius:18px!important;background:radial-gradient(circle at 50% 70%,rgba(44,207,203,.16),transparent 55%),linear-gradient(180deg,#f3fffb,#e9f8f6)!important;
}
body.pe-fresh-theme .pe106ParcelVisual img{filter:drop-shadow(0 14px 11px rgba(31,85,91,.17))!important}
body.pe-fresh-theme .rarityPill.common{color:#1b9c46!important;background:#ebfff1!important}
body.pe-fresh-theme .rarityPill.rare{color:#238cff!important;background:#edf6ff!important}
body.pe-fresh-theme .rarityPill.epic{color:#8d54dd!important;background:#f7f0ff!important}
body.pe-fresh-theme .rarityPill.legendary{color:#e88a09!important;background:#fff7e9!important}

/* Profile page. */
body.pe-fresh-theme .moreGrid{gap:11px!important}
body.pe-fresh-theme .moreGrid>*:not(.pe10MenuSection){min-height:105px!important;color:var(--pef-teal-deep)!important;background:#fff!important}
body.pe-fresh-theme .moreGrid>*:not(.pe10MenuSection) strong{color:var(--pef-ink)!important}
body.pe-fresh-theme .moreGrid>*:not(.pe10MenuSection) small{color:var(--pef-muted)!important}
body.pe-fresh-theme .pe10MenuSection{color:var(--pef-ink)!important}

/* Shop page. */
body.pe-fresh-theme .shopSectionTitle{color:var(--pef-ink)!important}
body.pe-fresh-theme .shopSectionTitle :is(span,small){color:inherit!important}
body.pe-fresh-theme .shopSectionTitle.green{color:#1aa649!important}
body.pe-fresh-theme .shopSectionTitle.blue{color:var(--pef-teal-deep)!important}
body.pe-fresh-theme .shopSectionTitle.legendary{color:#e8860d!important}
body.pe-fresh-theme .shopPackGrid>*,body.pe-fresh-theme .passportShopGrid>*,body.pe-fresh-theme .legendaryUpgradeGrid>*{overflow:hidden!important}
body.pe-fresh-theme .shopPackGrid button,body.pe-fresh-theme .passportShopGrid button,body.pe-fresh-theme .legendaryUpgradeGrid button{border-radius:14px!important;background:linear-gradient(105deg,var(--pef-green),var(--pef-teal))!important;color:#fff!important;border:0!important}

/* Passport page. */
body.pe-fresh-theme .passportHero{background:linear-gradient(145deg,#fff,#effcf8)!important}
body.pe-fresh-theme .passportStampList>*::before{background:linear-gradient(180deg,var(--pef-aqua),var(--pef-teal))!important}
body.pe-fresh-theme .badgeGrid>*{background:#fff!important}

/* Boost page. */
body.pe-fresh-theme .polishedBoostHero{background:linear-gradient(145deg,#fff,#fff8f1)!important;border-color:rgba(255,122,24,.18)!important}
body.pe-fresh-theme .polishedBoostHero>strong{color:var(--pef-orange)!important}
body.pe-fresh-theme .boostRing{border-color:#ffe6d2!important;background:#fff9f4!important}
body.pe-fresh-theme .boostRing i{background:linear-gradient(180deg,#ff9c4c,var(--pef-orange))!important}

/* ------------------------------------------------------------
   PURCHASE CONFIRMATION, TUTORIAL AND REVEAL
   ------------------------------------------------------------ */
body.pe-fresh-theme .pePurchaseConfirm{background:rgba(15,51,64,.42)!important;backdrop-filter:blur(12px)!important}
body.pe-fresh-theme .pePurchaseCard{
  border:1px solid var(--pef-line)!important;border-radius:29px!important;
  color:var(--pef-ink)!important;background:#f6fbfb!important;box-shadow:0 28px 80px rgba(12,48,61,.27)!important;
}
body.pe-fresh-theme .peConfirmHeading{
  min-height:auto!important;padding:24px 68px 20px 22px!important;color:var(--pef-ink)!important;
  background:linear-gradient(145deg,#effefa,#e8f8fb)!important;border-bottom:1px solid var(--pef-line)!important;
}
body.pe-fresh-theme .peConfirmHeading .eyebrow{color:var(--pef-teal-deep)!important}
body.pe-fresh-theme .peConfirmHeading h2{color:var(--pef-ink)!important;text-shadow:none!important;font-size:34px!important}
body.pe-fresh-theme .peConfirmHeading p{color:var(--pef-muted)!important}
body.pe-fresh-theme .peConfirmBadge{color:var(--pef-teal-deep)!important;border:1px solid var(--pef-line)!important;background:#fff!important}
body.pe-fresh-theme .pePurchaseConfirm .confirmClose{color:var(--pef-ink)!important;background:#fff!important;border:1px solid var(--pef-line)!important;box-shadow:var(--pef-shadow-soft)!important}
body.pe-fresh-theme .peConfirmPreview{
  border:1px solid var(--pef-line)!important;background:radial-gradient(circle at 50% 60%,rgba(43,205,194,.18),transparent 48%),linear-gradient(180deg,#f1fffb,#e7f6f5)!important;box-shadow:none!important;
}
body.pe-fresh-theme .peConfirmPreview small{color:var(--pef-muted)!important}
body.pe-fresh-theme .pe99EarnBlock{border:1px solid rgba(53,215,111,.24)!important;background:#effff4!important;color:var(--pef-ink)!important}
body.pe-fresh-theme .pe99EarnBlock>strong{background:#fff!important;color:var(--pef-teal-deep)!important}
body.pe-fresh-theme .peConfirmLocation,body.pe-fresh-theme .peConfirmStats>div{border-color:var(--pef-line)!important;background:#fff!important}
body.pe-fresh-theme .peConfirmLocation span,body.pe-fresh-theme .peConfirmStats span{color:var(--pef-muted)!important}
body.pe-fresh-theme .peConfirmLocation strong,body.pe-fresh-theme .peConfirmStats strong{color:var(--pef-ink)!important}
body.pe-fresh-theme .peConfirmActions{background:linear-gradient(transparent,#f6fbfb 25%)!important}
body.pe-fresh-theme .peConfirmActions .compactGhost{color:var(--pef-teal-deep)!important;background:#effbf9!important;border-color:var(--pef-line)!important}
body.pe-fresh-theme .peConfirmBuyButton{background:linear-gradient(105deg,var(--pef-green),var(--pef-teal),var(--pef-aqua))!important;border-color:#fff!important;box-shadow:0 8px 20px rgba(14,157,142,.22)!important}

body.pe-fresh-theme .tutorialOverlay{background:rgba(20,58,70,.38)!important;backdrop-filter:blur(12px)!important}
body.pe-fresh-theme .tutorialCard{border:1px solid var(--pef-line)!important;border-radius:30px!important;color:var(--pef-ink)!important;background:#fff!important;box-shadow:0 28px 80px rgba(14,50,63,.23)!important}
body.pe-fresh-theme .tutorialCard :is(h2,strong){color:var(--pef-ink)!important;text-shadow:none!important}
body.pe-fresh-theme .tutorialCard :is(p,.eyebrow,.pe108TutorialBrand,.pe108TutorialStep){color:var(--pef-muted)!important}
body.pe-fresh-theme .tutorialIcon{background:#e9fbf8!important;color:var(--pef-teal-deep)!important;border-color:var(--pef-line)!important}
body.pe-fresh-theme .tutorialProgress i{background:#dcebea!important}
body.pe-fresh-theme .tutorialProgress i.active{background:linear-gradient(90deg,var(--pef-green),var(--pef-aqua))!important;box-shadow:none!important}

body.pe-fresh-theme :is(.pe10PurchaseSequence,#rarityReveal.pe10PurchaseReveal){
  background:radial-gradient(circle at 50% 38%,rgba(var(--pe10-rarity-rgb,28,200,216),.16),transparent 34%),linear-gradient(180deg,#f5fffc,#e9f8f6)!important;
}
body.pe-fresh-theme :is(.pe10PurchaseSequence,#rarityReveal) :is(h1,h2,h3,strong){color:var(--pef-ink)!important;text-shadow:none!important}
body.pe-fresh-theme :is(.pe10PurchaseSequence,#rarityReveal) :is(p,small,span){color:var(--pef-muted)!important}
body.pe-fresh-theme .pe10SequenceStage,body.pe-fresh-theme #rarityReveal .revealModelStage{border-color:var(--pef-line)!important;background:radial-gradient(circle at 50% 65%,rgba(var(--pe10-rarity-rgb,28,200,216),.15),transparent 50%),linear-gradient(180deg,#f7fffd,#e7f5f3)!important}
body.pe-fresh-theme #rarityReveal .revealCard{border-color:var(--pef-line)!important;background:#fff!important;box-shadow:0 25px 70px rgba(19,64,78,.22)!important}
body.pe-fresh-theme #closeReveal{background:linear-gradient(105deg,var(--pef-green),var(--pef-teal),var(--pef-aqua))!important;color:#fff!important;border:2px solid #fff!important}

/* Route transition overlay. */
body.pe-fresh-theme .pe107RouteLoader{background:linear-gradient(180deg,#f6fffd,#eaf8f7)!important}
body.pe-fresh-theme .pe107RouteLoaderLogo{border:1px solid var(--pef-line)!important;background:#fff!important;box-shadow:var(--pef-shadow)!important}
body.pe-fresh-theme .pe107RouteLoaderCard strong{color:var(--pef-ink)!important}
body.pe-fresh-theme .pe107RouteDots i{background:var(--pef-teal)!important;box-shadow:none!important}

/* ------------------------------------------------------------
   LOGIN SCREEN
   ------------------------------------------------------------ */
body.pe108Login.pe-fresh-theme,body.pe108Login{
  color:var(--pef-ink)!important;background:linear-gradient(180deg,#effbfb,#f8fdff)!important;
}
body.pe108Login .loginScene{background:linear-gradient(180deg,#eefafa,#f8fdff)!important}
body.pe108Login .loginHero{background:#dff6f3!important}
body.pe108Login .loginHeroShade{background:linear-gradient(180deg,rgba(239,252,251,.03),rgba(238,251,250,.56) 65%,#eefafa 100%)!important}
body.pe108Login .loginHeroCopy span{color:var(--pef-teal-deep)!important}
body.pe108Login .loginHeroCopy h1 b{color:var(--pef-teal-deep)!important;text-shadow:none!important}
body.pe108Login .loginHeroCopy h1 em{color:var(--pef-green-deep)!important;text-shadow:none!important}
body.pe108Login .loginHeroCopy p{color:#4f6c78!important}
body.pe108Login .loginPanel{
  color:var(--pef-ink)!important;border:1px solid var(--pef-line)!important;border-radius:30px 30px 0 0!important;
  background:rgba(255,255,255,.98)!important;box-shadow:0 -12px 42px rgba(21,80,99,.12)!important;
}
body.pe108Login .loginPanelHead span{color:var(--pef-teal-deep)!important}
body.pe108Login .loginPanelHead h2{color:var(--pef-ink)!important;text-shadow:none!important}
body.pe108Login .loginOnline{color:#269d43!important;background:#effff3!important;border-color:rgba(53,215,111,.22)!important}
body.pe108Login .loginBenefits span{color:#406078!important;border-color:var(--pef-line)!important;background:#f3fbfb!important}
body.pe108Login .login-status{color:var(--pef-muted)!important}
body.pe108Login .input-group label{color:#425a6d!important}
body.pe108Login .loginInput{border:1px solid var(--pef-line)!important;background:#f8fcfc!important;box-shadow:none!important}
body.pe108Login .loginInput span{color:var(--pef-teal-deep)!important}
body.pe108Login .loginInput input{border:0!important;background:transparent!important;color:var(--pef-ink)!important}
body.pe108Login .loginQuickLinks a{color:var(--pef-teal-deep)!important}
body.pe108Login .divider::before,body.pe108Login .divider::after{background:var(--pef-line)!important}
body.pe108Login .divider span,body.pe108Login .loginTerms{color:var(--pef-muted)!important}
body.pe108Login .social,body.pe108Login .guest{border-color:var(--pef-line)!important;color:var(--pef-ink)!important;background:#fff!important;box-shadow:var(--pef-shadow-soft)!important}
body.pe108Login #loadingScreen{background:linear-gradient(180deg,#f6fffd,#eaf8f7)!important;color:var(--pef-ink)!important}
body.pe108Login #loadingScreen h2{color:var(--pef-ink)!important}
body.pe108Login #loadingScreen p{color:var(--pef-muted)!important}
body.pe108Login .loginLoadBar{background:#dfeeed!important}
body.pe108Login .loginLoadBar i{background:linear-gradient(90deg,var(--pef-green),var(--pef-aqua))!important}

/* ------------------------------------------------------------
   LOADING SCREEN
   ------------------------------------------------------------ */
body.peFreshLoader,body:has(#loader){background:#eefaf9!important}
#loader{
  color:var(--pef-ink)!important;
  background:
    radial-gradient(circle at 50% 28%,rgba(28,200,216,.16),transparent 34%),
    linear-gradient(180deg,#effafa 0%,#f8fdff 68%,#eef9f7 100%)!important;
}
#loader .loadingArtwork{filter:saturate(.92) brightness(1.13)!important;opacity:.92!important}
#loader .loadingShade{background:linear-gradient(180deg,rgba(240,252,251,.15),rgba(242,252,251,.18) 45%,rgba(245,253,253,.94) 78%,#eff9f8 100%)!important}
#loader .loadingStars{display:none!important}
#loader .loadingStatus{color:var(--pef-ink)!important;text-shadow:none!important}
#loader .loadingBar{border:1px solid var(--pef-line)!important;background:#fff!important;box-shadow:var(--pef-shadow-soft)!important}
#loader .loadingFill{background:linear-gradient(90deg,var(--pef-green),var(--pef-teal),var(--pef-aqua))!important;box-shadow:none!important}
#loader .loadingPercent{color:var(--pef-ink)!important;text-shadow:0 1px 0 #fff!important}
#loader .loadingHint{color:var(--pef-muted)!important}

/* Toasts and small overlays. */
body.pe-fresh-theme .toast{color:var(--pef-ink)!important;border:1px solid var(--pef-line)!important;background:#fff!important;box-shadow:var(--pef-shadow)!important}
body.pe-fresh-theme .mapError{color:var(--pef-ink)!important;border-color:var(--pef-line)!important;background:#fff!important;box-shadow:var(--pef-shadow)!important}
body.pe-fresh-theme .mapError p{color:var(--pef-muted)!important}

@media (min-width:1101px){
  body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .statsHud{left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:min(760px,calc(100vw - 40px))!important}
  body.pe-fresh-theme .pe108LocationStrip{left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:min(760px,calc(100vw - 40px))!important}
  .peFreshMapInfo{left:50%;right:auto;transform:translateX(-50%);width:min(620px,calc(100vw - 40px))}
  body.pe-fresh-theme .bottomNav.peFiveNav{left:50%!important;right:auto!important;transform:translateX(-50%)!important;width:min(620px,calc(100vw - 40px))!important}
}

@media (max-width:420px){
  body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .statsHud{gap:6px!important;height:84px!important}
  body.pe-fresh-theme .statsHud>.statCard{height:84px!important;padding:11px 8px!important;grid-template-columns:25px minmax(0,1fr)!important;gap:1px 5px!important;border-radius:20px!important}
  body.pe-fresh-theme .statsHud>.statCard .pe10StatIcon{width:25px!important;height:25px!important;font-size:12px!important}
  body.pe-fresh-theme .statsHud>.statCard span:not(.pe10StatIcon):not(.peFreshSpark){font-size:7.4px!important}
  body.pe-fresh-theme .statsHud>.statCard strong{font-size:clamp(12px,3.8vw,17px)!important}
  body.pe-fresh-theme .pe108LocationStrip{top:calc(101px + var(--pef-safe-top))!important;height:46px!important;border-radius:18px!important}
  body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) :is(#map,.worldShade,.scanGlow){top:calc(157px + var(--pef-safe-top))!important}
  .peFreshMapInfo{gap:8px;bottom:calc(148px + var(--pef-safe-bottom));left:calc(9px + var(--pef-safe-left));right:calc(9px + var(--pef-safe-right))}
  .peFreshInfoCard{min-height:50px;padding:7px 8px;gap:7px;border-radius:17px}.peFreshInfoIcon{width:26px;height:26px;font-size:17px}.peFreshInfoCard>span:last-child{font-size:8.5px}.peFreshInfoCard strong{font-size:13px}
  body.pe-fresh-theme .buyLandButton{height:59px!important;min-height:59px!important;bottom:calc(82px + var(--pef-safe-bottom))!important;border-radius:21px!important}
  body.pe-fresh-theme .buyLandButton .pe10BuyCopy strong{font-size:20px!important}
  body.pe-fresh-theme .bottomNav.peFiveNav{height:70px!important;border-radius:23px!important}
  body.pe-fresh-theme .bottomNav.peFiveNav button{height:58px!important;min-height:58px!important}
  body.pe-fresh-theme .bottomNav.peFiveNav .peNavIcon svg{width:22px;height:22px}
  body.pe-fresh-theme .bottomNav.peFiveNav button>span:last-child{font-size:8px!important}
}

@media (max-width:340px){
  body.pe-fresh-theme .statsHud>.statCard .pe10StatIcon{display:none!important}
  body.pe-fresh-theme .statsHud>.statCard{grid-template-columns:1fr!important;grid-template-areas:"label" "value" "spark"!important}
  body.pe-fresh-theme .statsHud>.statCard span:not(.pe10StatIcon):not(.peFreshSpark),body.pe-fresh-theme .statsHud>.statCard strong{text-align:center!important}
}

@media (max-width:900px) and (max-height:530px) and (orientation:landscape){
  body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .statsHud{top:calc(6px + var(--pef-safe-top))!important;left:calc(8px + var(--pef-safe-left))!important;right:auto!important;transform:none!important;width:min(450px,58vw)!important;height:66px!important}
  body.pe-fresh-theme .statsHud>.statCard{height:66px!important;padding:7px 8px!important;border-radius:17px!important}
  body.pe-fresh-theme .pe108LocationStrip{top:calc(7px + var(--pef-safe-top))!important;left:auto!important;right:calc(8px + var(--pef-safe-right))!important;transform:none!important;width:min(270px,36vw)!important;height:46px!important}
  body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) :is(#map,.worldShade,.scanGlow){top:calc(80px + var(--pef-safe-top))!important;bottom:calc(79px + var(--pef-safe-bottom))!important}
  .peFreshMapInfo{display:none!important}
  body.pe-fresh-theme .buyLandButton{bottom:calc(8px + var(--pef-safe-bottom))!important;width:min(300px,36vw)!important;height:62px!important}
  body.pe-fresh-theme .bottomNav.peFiveNav{left:calc(8px + var(--pef-safe-left))!important;right:auto!important;transform:none!important;width:min(340px,43vw)!important;height:66px!important;bottom:calc(6px + var(--pef-safe-bottom))!important}
  body.pe-fresh-theme .bottomNav.peFiveNav button{height:55px!important;min-height:55px!important}
}

@media (prefers-reduced-motion:reduce){
  body.pe-fresh-theme *,body.pe-fresh-theme *::before,body.pe-fresh-theme *::after{animation:none!important;transition-duration:.001ms!important}
}

/* Final specificity locks against legacy route-ID rules. */
body.pe-fresh-theme[data-pe-page="daily"] #dailyPanel>.sheetHeader,
body.pe-fresh-theme[data-pe-page="myland"] #myLandPanel>.sheetHeader,
body.pe-fresh-theme[data-pe-page="profile"] #morePanel>.sheetHeader,
body.pe-fresh-theme[data-pe-page="shop"] #shopPanel>.sheetHeader,
body.pe-fresh-theme[data-pe-page="passport"] #badgesPanel>.sheetHeader,
body.pe-fresh-theme[data-pe-page="boost"] #boostPanel>.sheetHeader{
  position:sticky!important;top:0!important;
  margin:0 calc(clamp(12px,4vw,42px) * -1) 16px!important;
  padding:calc(10px + var(--pef-safe-top)) clamp(13px,4vw,42px) 10px!important;
  min-height:calc(72px + var(--pef-safe-top))!important;
  border-bottom:1px solid var(--pef-line)!important;
  background:rgba(249,253,255,.96)!important;
  box-shadow:0 8px 24px rgba(28,79,96,.08)!important;
}
body.pe-fresh-theme[data-pe-page="daily"] #dailyPanel>.sheetHeader h2,
body.pe-fresh-theme[data-pe-page="myland"] #myLandPanel>.sheetHeader h2,
body.pe-fresh-theme[data-pe-page="profile"] #morePanel>.sheetHeader h2,
body.pe-fresh-theme[data-pe-page="shop"] #shopPanel>.sheetHeader h2,
body.pe-fresh-theme[data-pe-page="passport"] #badgesPanel>.sheetHeader h2,
body.pe-fresh-theme[data-pe-page="boost"] #boostPanel>.sheetHeader h2{color:var(--pef-ink)!important;text-shadow:none!important}
body.pe-fresh-theme[data-pe-page="profile"] #morePanel>.sheetHeader h2::after{color:var(--pef-ink)!important}
body.pe-fresh-theme .pe10SectionTitle::before{background:linear-gradient(180deg,var(--pef-green),var(--pef-aqua))!important;box-shadow:none!important}
body.pe-fresh-theme[data-pe-page="shop"] .shopSectionTitle{
  width:min(1180px,100%)!important;min-height:54px!important;margin:20px auto 10px!important;padding:10px 14px!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;
  border:1px solid var(--pef-line)!important;border-left:5px solid var(--pef-teal)!important;border-radius:17px!important;
  color:var(--pef-ink)!important;background:#fff!important;box-shadow:var(--pef-shadow-soft)!important;
}
body.pe-fresh-theme[data-pe-page="shop"] .shopSectionTitle.green{border-left-color:var(--pef-green)!important}
body.pe-fresh-theme[data-pe-page="shop"] .shopSectionTitle.blue{border-left-color:var(--pef-aqua)!important}
body.pe-fresh-theme[data-pe-page="shop"] .shopSectionTitle.legendary{border-left-color:var(--pef-orange)!important}
body.pe-fresh-theme[data-pe-page="shop"] .shopSectionTitle span{color:var(--pef-ink)!important;font-size:13px!important;font-weight:850!important}
body.pe-fresh-theme[data-pe-page="shop"] .shopSectionTitle small{color:var(--pef-muted)!important;font-size:9px!important}
body.pe-fresh-theme[data-pe-page="profile"] #morePanel>.sheetHeader h2::after{content:"Profile"!important}

/* ------------------------------------------------------------
   PUBLIC SITE / LEGAL PAGES
   ------------------------------------------------------------ */
body.pe-fresh-site{
  --bg:#f4fbfd;--bg2:#eaf8f7;--panel:#fff;--panel2:#f2fbfa;--line:rgba(34,108,130,.14);
  --text:var(--pef-ink);--muted:var(--pef-muted);--accent:var(--pef-aqua);--green:var(--pef-green);--gold:var(--pef-orange);
  color:var(--pef-ink)!important;
  background:
    radial-gradient(circle at 10% 0%,rgba(28,200,216,.14),transparent 30%),
    radial-gradient(circle at 90% 5%,rgba(53,215,111,.12),transparent 25%),
    linear-gradient(180deg,#f9fdff,#f1faf9 60%,#edf8f6)!important;
}
body.pe-fresh-site::before{opacity:.34!important;background:linear-gradient(rgba(24,138,150,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(24,138,150,.04) 1px,transparent 1px)!important}
body.pe-fresh-site .site-header{background:rgba(255,255,255,.92)!important;border-bottom-color:var(--pef-line)!important;box-shadow:0 6px 22px rgba(25,79,96,.06)!important}
body.pe-fresh-site .brand{color:var(--pef-ink)!important}
body.pe-fresh-site .brand-mark{color:#fff!important;background:linear-gradient(135deg,var(--pef-green),var(--pef-teal),var(--pef-aqua))!important;box-shadow:0 8px 24px rgba(16,167,150,.20)!important}
body.pe-fresh-site .brand-copy small,body.pe-fresh-site .site-nav a,body.pe-fresh-site .hero-text,body.pe-fresh-site .trust-row span,body.pe-fresh-site .feature-card p,body.pe-fresh-site .section-heading p,body.pe-fresh-site .rewards-copy p,body.pe-fresh-site .screens-grid figcaption,body.pe-fresh-site .rules-card li,body.pe-fresh-site .site-footer span,body.pe-fresh-site .site-footer a{color:var(--pef-muted)!important}
body.pe-fresh-site .site-nav a:hover{color:var(--pef-teal-deep)!important;background:#effbf9!important}
body.pe-fresh-site .site-nav .nav-cta,body.pe-fresh-site .btn.primary{color:#fff!important;background:linear-gradient(105deg,var(--pef-green),var(--pef-teal),var(--pef-aqua))!important;box-shadow:0 10px 26px rgba(14,157,142,.20)!important}
body.pe-fresh-site .nav-toggle{color:var(--pef-ink)!important;background:#fff!important;border-color:var(--pef-line)!important}
body.pe-fresh-site .eyebrow{color:var(--pef-teal-deep)!important}
body.pe-fresh-site :is(.hero h1,.section-heading h2,.rewards-copy h2,.feature-card h3,.rules-card h3){color:var(--pef-ink)!important;text-shadow:none!important}
body.pe-fresh-site .btn.secondary,body.pe-fresh-site .btn.ghost{color:var(--pef-teal-deep)!important;background:#fff!important;border-color:var(--pef-line)!important;box-shadow:var(--pef-shadow-soft)!important}
body.pe-fresh-site .trust-row span{background:#fff!important;border-color:var(--pef-line)!important}
body.pe-fresh-site .phone-frame{border-color:var(--pef-line)!important;background:linear-gradient(145deg,#fff,#edf9f7)!important;box-shadow:var(--pef-shadow)!important}
body.pe-fresh-site .phone-top span{background:#bfdedb!important}
body.pe-fresh-site .mini-map{background:radial-gradient(circle at 30% 20%,#b8edaa,transparent 28%),radial-gradient(circle at 75% 80%,#7ad7e5,transparent 35%),linear-gradient(145deg,#dff4cf,#80d5e1)!important}
body.pe-fresh-site .hud-chip{color:var(--pef-ink)!important;background:rgba(255,255,255,.90)!important;border-color:var(--pef-line)!important}
body.pe-fresh-site .buy-chip{color:#fff!important;background:linear-gradient(105deg,var(--pef-green),var(--pef-teal),var(--pef-aqua))!important}
body.pe-fresh-site .floating-card,body.pe-fresh-site :is(.stats-strip article,.feature-card,.rules-card,.screens-grid figure,.landing-card){color:var(--pef-ink)!important;background:#fff!important;border-color:var(--pef-line)!important;box-shadow:var(--pef-shadow-soft)!important}
body.pe-fresh-site .stats-strip strong{color:var(--pef-teal-deep)!important}
body.pe-fresh-site .screens-grid img{border:1px solid var(--pef-line)!important}
body.pe-fresh-site .brand-row img{background:#fff!important;border-color:var(--pef-line)!important;box-shadow:var(--pef-shadow-soft)!important}
body.pe-fresh-site .text-link{color:var(--pef-teal-deep)!important}
body.pe-fresh-site .site-footer{background:rgba(255,255,255,.75)!important;border-top-color:var(--pef-line)!important}
body.pe-fresh-site .landing-section{color:var(--pef-ink)!important;background:#fff!important;border:1px solid var(--pef-line)!important;border-radius:24px!important;box-shadow:var(--pef-shadow-soft)!important}
@media(max-width:900px){body.pe-fresh-site .site-nav{background:rgba(255,255,255,.97)!important;border-color:var(--pef-line)!important;box-shadow:var(--pef-shadow)!important}}

/* ============================================================
   Phase 11.1 — reference-accurate live map shell
   ============================================================ */
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]){
  --pef-map-top:calc(174px + var(--pef-safe-top));
  --pef-map-bottom:calc(166px + var(--pef-safe-bottom));
  background:#e8f8f4!important;
}

body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) :is(#map,.worldShade,.scanGlow){
  top:var(--pef-map-top)!important;
  bottom:var(--pef-map-bottom)!important;
}

body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) #map{
  background:#dff3e8!important;
  filter:saturate(1.08) brightness(1.055) contrast(.98)!important;
}

body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .worldShade{
  background:
    linear-gradient(180deg,rgba(248,255,255,.08),transparent 14%,transparent 72%,rgba(247,253,252,.32) 83%,#f4fbfa 100%),
    radial-gradient(circle at 50% 47%,transparent 42%,rgba(238,250,248,.08) 100%)!important;
}

/* Exact three-card proportions and internal alignment. */
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .statsHud{
  top:calc(10px + var(--pef-safe-top))!important;
  left:calc(12px + var(--pef-safe-left))!important;
  right:calc(12px + var(--pef-safe-right))!important;
  height:94px!important;
  grid-template-columns:1.23fr 1fr .84fr!important;
  gap:8px!important;
}

body.pe-fresh-theme .statsHud>.peFreshStatCard{
  position:relative!important;
  width:auto!important;
  height:94px!important;
  min-width:0!important;
  overflow:hidden!important;
  padding:13px 13px 12px!important;
  border:1px solid rgba(53,112,132,.12)!important;
  border-radius:24px!important;
  background:rgba(255,255,255,.97)!important;
  box-shadow:0 12px 32px rgba(35,91,108,.12),0 2px 7px rgba(35,91,108,.05)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
}

body.pe-fresh-theme .statsHud>.peFreshStatCard .peFreshStatLabel{
  position:relative!important;
  display:block!important;
  min-width:0!important;
  color:#64758a!important;
  font-size:10px!important;
  font-weight:720!important;
  line-height:1.15!important;
  letter-spacing:0!important;
  text-transform:none!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}

body.pe-fresh-theme .statsHud>.peFreshStatCard strong{
  position:relative!important;
  display:block!important;
  min-width:0!important;
  margin:0!important;
  font-variant-numeric:tabular-nums!important;
  font-feature-settings:"tnum" 1!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  letter-spacing:-.045em!important;
  text-shadow:none!important;
}

body.pe-fresh-theme .statsHud>.peFreshStatCard .peFreshStatIcon{
  display:grid!important;
  place-items:center!important;
  color:inherit!important;
}

body.pe-fresh-theme .statsHud>.peFreshStatCard .peFreshStatIcon svg{
  width:100%!important;
  height:100%!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.9!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}

body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="rent"]{
  display:grid!important;
  grid-template-columns:1fr!important;
  grid-template-rows:auto 1fr 16px!important;
  grid-template-areas:"label" "value" "spark"!important;
  align-items:start!important;
  gap:2px!important;
  padding-left:16px!important;
  padding-right:14px!important;
}
body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="rent"] .peFreshStatLabel{grid-area:label!important}
body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="rent"] strong{
  grid-area:value!important;
  align-self:center!important;
  color:#079b95!important;
  font-size:clamp(18px,5.25vw,26px)!important;
  font-weight:850!important;
}
body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="rent"] .peFreshSpark{
  grid-area:spark!important;
  position:relative!important;
  inset:auto!important;
  display:block!important;
  width:100%!important;
  height:16px!important;
  margin:0!important;
  overflow:visible!important;
}
body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="rent"] .peFreshSpark::before{
  content:""!important;
  position:absolute!important;
  left:0!important;
  right:7px!important;
  top:8px!important;
  height:2px!important;
  border-radius:999px!important;
  background:none!important;
  border-top:2px solid #19bdb8!important;
  transform:skewY(-4deg)!important;
  clip-path:polygon(0 58%,8% 22%,17% 65%,27% 36%,38% 70%,49% 42%,61% 60%,72% 30%,84% 44%,100% 4%,100% 100%,0 100%)!important;
}
body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="rent"] .peFreshSpark i{
  position:absolute!important;
  right:0!important;
  top:3px!important;
  width:8px!important;
  height:8px!important;
  border-radius:50%!important;
  background:#19bdb8!important;
  box-shadow:0 0 0 3px rgba(25,189,184,.12)!important;
}

body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="bucks"]{
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr)!important;
  grid-template-rows:auto 1fr!important;
  grid-template-areas:"label label" "icon value"!important;
  align-items:center!important;
  gap:5px 8px!important;
  background:linear-gradient(180deg,#fff 0%,#f7fff8 100%)!important;
}
body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="bucks"] .peFreshStatLabel{grid-area:label!important;text-align:center!important}
body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="bucks"] .peFreshStatIcon{
  grid-area:icon!important;
  width:38px!important;
  height:38px!important;
  border-radius:50%!important;
  color:#fff!important;
  background:linear-gradient(180deg,#66e66d,#17ae36)!important;
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.72),0 4px 10px rgba(23,157,53,.22)!important;
}
body.pe-fresh-theme .peFreshLbText{font-size:12px!important;font-weight:900!important;letter-spacing:-.04em!important}
body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="bucks"] strong{
  grid-area:value!important;
  color:#229d36!important;
  font-size:clamp(17px,4.7vw,25px)!important;
  font-weight:880!important;
}

body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="boost"]{
  display:grid!important;
  grid-template-columns:23px minmax(0,1fr)!important;
  grid-template-rows:auto 1fr!important;
  grid-template-areas:"icon label" "value value"!important;
  align-items:center!important;
  gap:3px 4px!important;
  padding-left:12px!important;
  padding-right:12px!important;
  background:linear-gradient(180deg,#fff 0%,#fff9f4 100%)!important;
  border-color:rgba(255,139,45,.23)!important;
}
body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="boost"] .peFreshStatLabel{
  grid-area:label!important;
  color:#ef6f18!important;
  font-size:10.5px!important;
}
body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="boost"] .peFreshStatIcon{
  grid-area:icon!important;
  width:22px!important;
  height:22px!important;
  color:#ff9b14!important;
}
body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="boost"] .peFreshStatIcon svg{fill:#ffb11b!important;stroke:#f27a15!important;stroke-width:1.35!important}
body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="boost"] strong{
  grid-area:value!important;
  align-self:center!important;
  justify-self:center!important;
  color:#f06b17!important;
  font-size:clamp(21px,6vw,31px)!important;
  font-weight:880!important;
  letter-spacing:-.04em!important;
}
body.pe-fresh-theme .statsHud>.peFreshStatHidden{display:none!important}

/* Country strip is intentionally simple and never exposes debug GPS-sector text. */
body.pe-fresh-theme .pe108LocationStrip{
  top:calc(114px + var(--pef-safe-top))!important;
  left:calc(14px + var(--pef-safe-left))!important;
  right:calc(14px + var(--pef-safe-right))!important;
  height:50px!important;
  min-height:50px!important;
  padding:0 18px!important;
  gap:11px!important;
  border-radius:22px!important;
  border:1px solid rgba(53,112,132,.12)!important;
  background:rgba(255,255,255,.97)!important;
  box-shadow:0 9px 24px rgba(35,91,108,.10)!important;
  white-space:nowrap!important;
  overflow:hidden!important;
}
body.pe-fresh-theme .pe108LocationStrip .pe108Flag{flex:0 0 auto!important;font-size:21px!important}
body.pe-fresh-theme .pe108LocationStrip .pe108Place{
  flex:0 1 auto!important;
  min-width:0!important;
  color:#0d2d4d!important;
  font-size:16px!important;
  font-weight:820!important;
  line-height:1!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.pe-fresh-theme .pe108LocationStrip .pe108Online{
  flex:0 0 auto!important;
  color:#43576d!important;
  font-size:13px!important;
  font-weight:650!important;
  text-transform:none!important;
  letter-spacing:0!important;
  white-space:nowrap!important;
}
body.pe-fresh-theme .pe108LocationStrip .pe108Chevron{flex:0 0 auto!important;font-size:18px!important}
body.pe-fresh-theme .pe108LocationStrip .pe108Parcels{display:none!important}

/* No duplicate floating status badges or map zoom dock on the clean mobile shell. */
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) :is(.pwaStatusPill,.installAppButton,.updateAppButton,.peFreshUtilityHidden){display:none!important}
@media (max-width:900px){
  body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .mapboxgl-ctrl-top-right{display:none!important}
}

/* GPS and range cards: narrower and more separated like the approved layout. */
body.pe-fresh-theme .peFreshMapInfo{
  left:50%!important;
  right:auto!important;
  transform:translateX(-50%)!important;
  width:min(316px,calc(100vw - 46px - var(--pef-safe-left) - var(--pef-safe-right)))!important;
  bottom:calc(151px + var(--pef-safe-bottom))!important;
  grid-template-columns:1fr 1fr!important;
  gap:28px!important;
}
body.pe-fresh-theme .peFreshInfoCard{
  min-width:0!important;
  min-height:58px!important;
  padding:8px 10px!important;
  gap:8px!important;
  border-radius:20px!important;
  background:rgba(255,255,255,.95)!important;
  box-shadow:0 8px 22px rgba(35,91,108,.10)!important;
}
body.pe-fresh-theme .peFreshInfoIcon{
  flex:0 0 auto!important;
  width:32px!important;
  height:32px!important;
  color:#079da4!important;
  background:#e9fbfa!important;
}
body.pe-fresh-theme .peFreshInfoIcon svg{
  width:24px!important;
  height:24px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.65!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
body.pe-fresh-theme .peFreshInfoCard>span:last-child{font-size:9px!important;font-weight:680!important}
body.pe-fresh-theme .peFreshInfoCard strong{font-size:15px!important;font-weight:850!important;white-space:nowrap!important}

/* Reference-sized CTA with a visible location icon. */
body.pe-fresh-theme .buyLandButton{
  bottom:calc(82px + var(--pef-safe-bottom))!important;
  width:min(540px,calc(100vw - 30px - var(--pef-safe-left) - var(--pef-safe-right)))!important;
  height:64px!important;
  min-height:64px!important;
  border-radius:24px!important;
  border:3px solid rgba(255,255,255,.96)!important;
  gap:14px!important;
  padding:6px 22px!important;
  background:linear-gradient(105deg,#38e865 0%,#13d2a7 48%,#13b9d3 100%)!important;
  box-shadow:0 12px 27px rgba(11,161,151,.24),inset 0 1px 0 rgba(255,255,255,.45)!important;
}
body.pe-fresh-theme .buyLandButton .pe10BuyIcon{
  flex:0 0 auto!important;
  width:35px!important;
  height:35px!important;
  color:#fff!important;
}
body.pe-fresh-theme .buyLandButton .pe10BuyIcon svg{
  width:35px!important;
  height:35px!important;
  fill:#fff!important;
  stroke:#fff!important;
  stroke-width:1.45!important;
}
body.pe-fresh-theme .buyLandButton .pe10BuyCopy{display:grid!important;place-items:center!important}
body.pe-fresh-theme .buyLandButton .pe10BuyCopy strong{
  font-size:23px!important;
  font-weight:900!important;
  letter-spacing:.015em!important;
  line-height:1!important;
}
body.pe-fresh-theme .buyLandButton .pe10BuyCopy small{display:none!important}

/* Bottom navigation mirrors the reference: no oversized active capsule or top dash. */
body.pe-fresh-theme .bottomNav.peFiveNav{
  left:calc(14px + var(--pef-safe-left))!important;
  right:calc(14px + var(--pef-safe-right))!important;
  bottom:calc(5px + var(--pef-safe-bottom))!important;
  height:72px!important;
  padding:5px 8px!important;
  border-radius:26px!important;
  gap:2px!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 11px 30px rgba(35,91,108,.14)!important;
}
body.pe-fresh-theme .bottomNav.peFiveNav button{
  height:60px!important;
  min-height:60px!important;
  gap:4px!important;
  border-radius:17px!important;
  color:#6a7889!important;
  background:transparent!important;
}
body.pe-fresh-theme .bottomNav.peFiveNav button.active{
  color:#0aae91!important;
  background:transparent!important;
}
body.pe-fresh-theme .bottomNav.peFiveNav button.active::before{display:none!important}
body.pe-fresh-theme .bottomNav.peFiveNav .peNavIcon{width:26px!important;height:26px!important}
body.pe-fresh-theme .bottomNav.peFiveNav .peNavIcon svg{width:25px!important;height:25px!important;stroke-width:1.8!important}
body.pe-fresh-theme .bottomNav.peFiveNav button>span:last-child{
  font-size:9.5px!important;
  font-weight:680!important;
  color:#65758a!important;
}
body.pe-fresh-theme .bottomNav.peFiveNav button.active>span:last-child{color:#0d2c4a!important;font-weight:800!important}
body.pe-fresh-theme .bottomNav.peFiveNav .peNavHidden{display:none!important}

/* Large blue live-location pin and aqua range halo. */
.pePlayerLocationMarker{
  position:absolute!important;
  width:64px!important;
  height:78px!important;
  pointer-events:none!important;
  filter:none!important;
  overflow:visible!important;
}
.pePlayerLocationMarker::before,
.pePlayerLocationMarker::after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  bottom:0!important;
  border-radius:50%!important;
  transform:translate(-50%,36%)!important;
  pointer-events:none!important;
}
.pePlayerLocationMarker::before{
  width:104px!important;
  height:48px!important;
  border:3px solid rgba(50,238,231,.92)!important;
  box-shadow:0 0 0 3px rgba(255,255,255,.52),0 0 22px rgba(32,225,218,.72),inset 0 0 17px rgba(37,231,224,.22)!important;
  background:rgba(47,231,220,.07)!important;
  animation:peFreshLocationPulse 2.2s ease-out infinite!important;
}
.pePlayerLocationMarker::after{
  width:58px!important;
  height:27px!important;
  border:1.5px solid rgba(79,246,238,.75)!important;
  background:rgba(48,232,222,.08)!important;
}
.pePlayerLocationMarker .pePlayerPinSvg{
  position:absolute!important;
  left:50%!important;
  bottom:11px!important;
  width:50px!important;
  height:66px!important;
  transform:translateX(-50%)!important;
  overflow:visible!important;
  filter:drop-shadow(0 8px 8px rgba(8,71,147,.30))!important;
}
.pePlayerLocationMarker .pePlayerPinSvg path{
  fill:url(#peFreshPinGradient)!important;
  stroke:#fff!important;
  stroke-width:1.25!important;
}
.pePlayerLocationMarker .pePlayerPinSvg circle{
  fill:#f8fdff!important;
  stroke:rgba(20,98,216,.28)!important;
  stroke-width:1!important;
}
.pePlayerLocationMarker.is-gps-warning .pePlayerPinSvg{filter:hue-rotate(115deg) saturate(1.2) drop-shadow(0 8px 8px rgba(183,66,52,.25))!important}
@keyframes peFreshLocationPulse{
  0%{opacity:.92;transform:translate(-50%,36%) scale(.72)}
  75%,100%{opacity:0;transform:translate(-50%,36%) scale(1.34)}
}

@media (max-width:420px){
  body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]){
    --pef-map-top:calc(102px + var(--pef-safe-top));
  }
  body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) :is(#map,.worldShade,.scanGlow){
    top:calc(102px + var(--pef-safe-top))!important;
    bottom:calc(143px + var(--pef-safe-bottom))!important;
  }
  body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .statsHud{
    top:calc(8px + var(--pef-safe-top))!important;
    left:calc(9px + var(--pef-safe-left))!important;
    right:calc(9px + var(--pef-safe-right))!important;
    height:88px!important;
    gap:6px!important;
  }
  body.pe-fresh-theme .statsHud>.peFreshStatCard{
    height:88px!important;
    padding:11px 9px 10px!important;
    border-radius:21px!important;
  }
  body.pe-fresh-theme .statsHud>.peFreshStatCard .peFreshStatLabel{font-size:8.6px!important}
  body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="rent"]{padding-left:12px!important;padding-right:9px!important}
  body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="rent"] strong{font-size:clamp(16px,5.1vw,21px)!important}
  body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="bucks"]{grid-template-columns:30px minmax(0,1fr)!important;gap:4px 5px!important}
  body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="bucks"] .peFreshStatIcon{width:30px!important;height:30px!important}
  body.pe-fresh-theme .peFreshLbText{font-size:10px!important}
  body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="bucks"] strong{font-size:clamp(14px,4.2vw,19px)!important}
  body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="boost"]{grid-template-columns:18px minmax(0,1fr)!important;padding-left:8px!important;padding-right:8px!important}
  body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="boost"] .peFreshStatIcon{width:18px!important;height:18px!important}
  body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="boost"] .peFreshStatLabel{font-size:8.8px!important}
  body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="boost"] strong{font-size:clamp(19px,5.7vw,25px)!important}
  body.pe-fresh-theme .pe108LocationStrip{
    top:calc(104px + var(--pef-safe-top))!important;
    left:calc(10px + var(--pef-safe-left))!important;
    right:calc(10px + var(--pef-safe-right))!important;
    height:50px!important;
    padding:0 15px!important;
    border-radius:21px!important;
  }
  body.pe-fresh-theme .pe108LocationStrip .pe108Place{font-size:15px!important}
  body.pe-fresh-theme .pe108LocationStrip .pe108Online{font-size:12px!important}
  body.pe-fresh-theme .peFreshMapInfo{
    width:min(304px,calc(100vw - 38px - var(--pef-safe-left) - var(--pef-safe-right)))!important;
    gap:22px!important;
    bottom:calc(149px + var(--pef-safe-bottom))!important;
  }
  body.pe-fresh-theme .peFreshInfoCard{min-height:55px!important;padding:7px 8px!important;border-radius:18px!important}
  body.pe-fresh-theme .peFreshInfoIcon{width:29px!important;height:29px!important}
  body.pe-fresh-theme .peFreshInfoIcon svg{width:22px!important;height:22px!important}
  body.pe-fresh-theme .peFreshInfoCard>span:last-child{font-size:8.2px!important}
  body.pe-fresh-theme .peFreshInfoCard strong{font-size:13.5px!important}
  body.pe-fresh-theme .buyLandButton{
    width:calc(100vw - 24px - var(--pef-safe-left) - var(--pef-safe-right))!important;
    height:61px!important;
    min-height:61px!important;
    bottom:calc(80px + var(--pef-safe-bottom))!important;
    border-radius:22px!important;
  }
  body.pe-fresh-theme .buyLandButton .pe10BuyIcon{width:31px!important;height:31px!important}
  body.pe-fresh-theme .buyLandButton .pe10BuyIcon svg{width:31px!important;height:31px!important}
  body.pe-fresh-theme .buyLandButton .pe10BuyCopy strong{font-size:21px!important}
  body.pe-fresh-theme .bottomNav.peFiveNav{
    left:calc(10px + var(--pef-safe-left))!important;
    right:calc(10px + var(--pef-safe-right))!important;
    height:69px!important;
    border-radius:24px!important;
  }
  body.pe-fresh-theme .bottomNav.peFiveNav button{height:57px!important;min-height:57px!important}
  body.pe-fresh-theme .bottomNav.peFiveNav .peNavIcon{width:23px!important;height:23px!important}
  body.pe-fresh-theme .bottomNav.peFiveNav .peNavIcon svg{width:22px!important;height:22px!important}
  body.pe-fresh-theme .bottomNav.peFiveNav button>span:last-child{font-size:8.4px!important}
  .pePlayerLocationMarker::before{width:92px!important;height:42px!important}
  .pePlayerLocationMarker::after{width:52px!important;height:24px!important}
  .pePlayerLocationMarker .pePlayerPinSvg{width:46px!important;height:61px!important}
}

@media (max-width:350px){
  body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="rent"] strong{font-size:14px!important}
  body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="bucks"] strong{font-size:13px!important}
  body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="boost"] strong{font-size:18px!important}
  body.pe-fresh-theme .statsHud>.peFreshStatCard .peFreshStatLabel{font-size:7.6px!important}
  body.pe-fresh-theme .peFreshMapInfo{gap:12px!important;width:calc(100vw - 26px)!important}
}

/* ============================================================
   Phase 11.2 — seamless one-screen purchase flow
   Keeps the live map mounted while selection, confirmation and
   rarity reveal move through compact animated sheets.
   ============================================================ */
body[data-pe-page="map"].pe112-buy-active #buyLandMode{
  transform:translateY(-2px);
  box-shadow:0 18px 44px rgba(13,207,183,.34),0 0 0 4px rgba(255,255,255,.86);
}
body[data-pe-page="map"] .pePurchaseConfirm{
  align-items:flex-end!important;
  padding:12px 12px calc(12px + env(safe-area-inset-bottom))!important;
  background:linear-gradient(180deg,rgba(8,31,45,.08),rgba(8,31,45,.46))!important;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
body[data-pe-page="map"] .pePurchaseConfirm .pePurchaseCard{
  width:min(100%,620px)!important;
  max-height:min(78svh,760px)!important;
  margin:0 auto!important;
  border-radius:30px 30px 24px 24px!important;
  transform-origin:bottom center;
  animation:pe112SheetIn .28s cubic-bezier(.2,.85,.25,1) both;
}
body[data-pe-page="map"] .pe10PurchaseReveal{
  align-items:flex-end!important;
  padding:12px 12px calc(12px + env(safe-area-inset-bottom))!important;
  background:linear-gradient(180deg,rgba(8,31,45,.08),rgba(8,31,45,.48))!important;
  backdrop-filter:blur(9px);
  -webkit-backdrop-filter:blur(9px);
}
body[data-pe-page="map"] .pe10PurchaseReveal .revealCard{
  width:min(100%,620px)!important;
  max-height:min(82svh,790px)!important;
  margin:0 auto!important;
  border-radius:30px 30px 24px 24px!important;
  animation:pe112SheetIn .3s cubic-bezier(.2,.85,.25,1) both;
}
body[data-pe-page="map"] .pe10PurchaseSequence{
  background:rgba(8,31,45,.34)!important;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
body[data-pe-page="map"] .pe10PurchaseSequence .pe10SequenceCard{
  width:min(calc(100% - 28px),520px)!important;
  border-radius:28px!important;
  animation:pe112PopIn .24s cubic-bezier(.2,.9,.25,1) both;
}
@keyframes pe112SheetIn{
  from{opacity:0;transform:translateY(38px) scale(.985)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
@keyframes pe112PopIn{
  from{opacity:0;transform:translateY(12px) scale(.96)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
@media (max-width:560px){
  body[data-pe-page="map"] .pePurchaseConfirm .pePurchaseCard,
  body[data-pe-page="map"] .pe10PurchaseReveal .revealCard{max-height:76svh!important}
  body[data-pe-page="map"] .peConfirmMain{gap:10px!important}
  body[data-pe-page="map"] .peConfirmPreview{min-height:132px!important}
}


/* ============================================================
   Phase 11.3 — full-screen map and invisible auto-GPS shell
   ============================================================ */
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) :is(.pe108LocationStrip,.peFreshMapInfo,.gpsButton){display:none!important}
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) :is(#map,.worldShade,.scanGlow){
  top:calc(106px + var(--pef-safe-top))!important;
  bottom:calc(146px + var(--pef-safe-bottom))!important;
}
@media (max-width:420px){
  body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) :is(#map,.worldShade,.scanGlow){
    top:calc(102px + var(--pef-safe-top))!important;
    bottom:calc(143px + var(--pef-safe-bottom))!important;
  }
}


/* ============================================================
   Phase 11.4 — centred GPS marker + reference-accurate HUD
   ============================================================ */

/* Remove the old GPS/online controls from the rendered DOM shell. */
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) :is(#gpsButton,#onlineStatus,.gpsButton,.onlineStatus){
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

/* Mapbox owns the marker transform. Never override it or the pin jumps to the left edge. */
body.pe-fresh-theme .mapboxgl-marker.pePlayerLocationMarker{
  position:absolute!important;
  margin:0!important;
  top:0!important;
  left:0!important;
}

/* One soft outer HUD tray with three correctly aligned cards. */
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .statsHud{
  top:calc(8px + var(--pef-safe-top))!important;
  left:calc(9px + var(--pef-safe-left))!important;
  right:calc(9px + var(--pef-safe-right))!important;
  width:auto!important;
  height:100px!important;
  padding:5px!important;
  grid-template-columns:1.28fr 1fr .82fr!important;
  gap:6px!important;
  border:1px solid rgba(75,137,154,.10)!important;
  border-radius:27px!important;
  background:rgba(244,252,253,.90)!important;
  box-shadow:0 10px 28px rgba(31,87,103,.09)!important;
  backdrop-filter:blur(17px)!important;
  -webkit-backdrop-filter:blur(17px)!important;
}

body.pe-fresh-theme .statsHud>.peFreshStatCard{
  height:88px!important;
  padding:11px 11px 9px!important;
  border-radius:22px!important;
  border:1px solid rgba(67,125,143,.11)!important;
  box-shadow:0 5px 15px rgba(35,91,108,.075)!important;
  background:rgba(255,255,255,.985)!important;
  overflow:hidden!important;
}

body.pe-fresh-theme .statsHud>.peFreshStatCard .peFreshStatLabel{
  color:#617288!important;
  font-size:9.5px!important;
  font-weight:720!important;
  line-height:1.08!important;
}

body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="rent"]{
  grid-template-rows:auto 1fr 14px!important;
  gap:1px!important;
  padding-left:13px!important;
  padding-right:10px!important;
}
body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="rent"] strong{
  align-self:center!important;
  font-size:clamp(17px,5.05vw,23px)!important;
  letter-spacing:-.05em!important;
}
body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="rent"] .peFreshSpark{
  height:14px!important;
}

body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="bucks"]{
  grid-template-columns:32px minmax(0,1fr)!important;
  grid-template-rows:auto 1fr!important;
  grid-template-areas:"label label" "icon value"!important;
  gap:3px 6px!important;
  padding-left:10px!important;
  padding-right:9px!important;
}
body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="bucks"] .peFreshStatLabel{
  grid-area:label!important;
  text-align:center!important;
}
body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="bucks"] .peFreshStatIcon{
  grid-area:icon!important;
  width:32px!important;
  height:32px!important;
  border-radius:50%!important;
}
body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="bucks"] strong{
  grid-area:value!important;
  min-width:0!important;
  font-size:clamp(14px,4.15vw,19px)!important;
  letter-spacing:-.045em!important;
}
body.pe-fresh-theme .peFreshLbText{font-size:10px!important}

body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="boost"]{
  grid-template-columns:18px minmax(0,1fr)!important;
  grid-template-rows:auto 1fr!important;
  grid-template-areas:"icon label" "value value"!important;
  gap:2px 3px!important;
  padding-left:8px!important;
  padding-right:8px!important;
}
body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="boost"] .peFreshStatIcon{
  grid-area:icon!important;
  width:18px!important;
  height:18px!important;
}
body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="boost"] .peFreshStatLabel{
  grid-area:label!important;
  font-size:9.5px!important;
}
body.pe-fresh-theme .statsHud>.peFreshStatCard[data-fresh-stat="boost"] strong{
  grid-area:value!important;
  justify-self:center!important;
  font-size:clamp(20px,5.6vw,27px)!important;
}

/* The map starts immediately below the compact HUD. */
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) :is(#map,.worldShade,.scanGlow){
  top:calc(113px + var(--pef-safe-top))!important;
  bottom:calc(140px + var(--pef-safe-bottom))!important;
}

/* Smaller CTA with comfortable side margins and a clear gap above navigation. */
body.pe-fresh-theme .buyLandButton{
  width:min(520px,calc(100vw - 58px - var(--pef-safe-left) - var(--pef-safe-right)))!important;
  height:56px!important;
  min-height:56px!important;
  bottom:calc(82px + var(--pef-safe-bottom))!important;
  padding:5px 18px!important;
  gap:10px!important;
  border-width:3px!important;
  border-radius:21px!important;
  box-shadow:0 10px 23px rgba(11,161,151,.22),inset 0 1px 0 rgba(255,255,255,.44)!important;
}
body.pe-fresh-theme .buyLandButton .pe10BuyIcon{
  width:28px!important;
  height:28px!important;
}
body.pe-fresh-theme .buyLandButton .pe10BuyIcon svg{
  width:28px!important;
  height:28px!important;
}
body.pe-fresh-theme .buyLandButton .pe10BuyCopy strong{
  font-size:20px!important;
  line-height:1!important;
}

@media (max-width:420px){
  body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .statsHud{
    height:98px!important;
    padding:5px!important;
    gap:5px!important;
  }
  body.pe-fresh-theme .statsHud>.peFreshStatCard{
    height:86px!important;
    padding-top:10px!important;
    padding-bottom:8px!important;
  }
  body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) :is(#map,.worldShade,.scanGlow){
    top:calc(111px + var(--pef-safe-top))!important;
    bottom:calc(139px + var(--pef-safe-bottom))!important;
  }
  body.pe-fresh-theme .buyLandButton{
    width:calc(100vw - 56px - var(--pef-safe-left) - var(--pef-safe-right))!important;
    height:55px!important;
    min-height:55px!important;
    bottom:calc(81px + var(--pef-safe-bottom))!important;
  }
  body.pe-fresh-theme .buyLandButton .pe10BuyCopy strong{font-size:19px!important}
}

/* ============================================================
   Phase 11.5 — HUD design 10: one connected compact player bar
   ============================================================ */
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .statsHud.peHudAllInOne{
  position:fixed!important;
  z-index:1320!important;
  top:calc(7px + var(--pef-safe-top))!important;
  left:calc(8px + var(--pef-safe-left))!important;
  right:calc(8px + var(--pef-safe-right))!important;
  width:auto!important;
  height:72px!important;
  display:grid!important;
  grid-template-columns:46px minmax(0,1.55fr) minmax(0,1fr) minmax(54px,.72fr) 34px!important;
  align-items:stretch!important;
  gap:3px!important;
  padding:5px!important;
  margin:0!important;
  overflow:visible!important;
  border:1px solid rgba(255,255,255,.68)!important;
  border-radius:23px!important;
  background:
    linear-gradient(105deg,rgba(4,131,124,.98) 0%,rgba(10,174,155,.98) 42%,rgba(48,207,112,.98) 100%)!important;
  box-shadow:0 13px 31px rgba(4,91,91,.27),inset 0 1px 0 rgba(255,255,255,.36)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
}

body.pe-fresh-theme .statsHud.peHudAllInOne::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  inset:1px!important;
  z-index:-1!important;
  pointer-events:none!important;
  border-radius:21px!important;
  background:
    radial-gradient(circle at 12% 0%,rgba(255,255,255,.26),transparent 31%),
    linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,0))!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne::after{display:none!important}

body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudAvatar,
body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSettings,
body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment{
  position:relative!important;
  inset:auto!important;
  min-width:0!important;
  width:auto!important;
  height:62px!important;
  min-height:62px!important;
  margin:0!important;
  transform:none!important;
}

body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudAvatar{
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  overflow:hidden!important;
  border:3px solid rgba(255,255,255,.95)!important;
  border-radius:50%!important;
  color:#12374c!important;
  background:
    radial-gradient(circle at 35% 26%,#fff 0 13%,#e9fff7 37%,#9cf4cf 69%,#21bd80 100%)!important;
  box-shadow:0 4px 12px rgba(0,55,61,.28),0 0 0 2px rgba(102,255,203,.52)!important;
  font-size:25px!important;
  line-height:1!important;
  cursor:pointer!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudAvatar:active{transform:scale(.96)!important}

body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:5px!important;
  padding:5px 6px!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  color:#fff!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  top:8px!important;
  bottom:8px!important;
  left:-2px!important;
  width:1px!important;
  background:rgba(255,255,255,.32)!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment::after{display:none!important}

body.pe-fresh-theme .statsHud.peHudAllInOne .peHudSegmentCopy{
  display:grid!important;
  grid-template-rows:auto auto auto!important;
  align-content:center!important;
  min-width:0!important;
  flex:1 1 auto!important;
  gap:1px!important;
  overflow:hidden!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne .peFreshStatLabel{
  display:block!important;
  min-width:0!important;
  margin:0!important;
  color:rgba(255,255,255,.86)!important;
  font-size:7.5px!important;
  font-weight:780!important;
  line-height:1!important;
  letter-spacing:.015em!important;
  text-transform:none!important;
  text-align:left!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment strong{
  display:block!important;
  min-width:0!important;
  margin:0!important;
  color:#fff!important;
  font-size:clamp(13px,3.7vw,19px)!important;
  font-weight:900!important;
  line-height:1.03!important;
  letter-spacing:-.055em!important;
  text-align:left!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:clip!important;
  text-shadow:0 2px 4px rgba(0,71,72,.24)!important;
}

body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment[data-fresh-stat="rent"]{
  gap:5px!important;
  padding-left:3px!important;
  padding-right:4px!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment[data-fresh-stat="rent"]::before{display:none!important}
body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment[data-fresh-stat="rent"] strong{
  font-size:clamp(13px,3.55vw,18px)!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne .peHudEmpireBadge{
  position:relative!important;
  flex:0 0 25px!important;
  width:25px!important;
  height:29px!important;
  display:grid!important;
  place-items:center!important;
  color:#fff!important;
  background:linear-gradient(180deg,#55e5a7,#078c6f)!important;
  clip-path:polygon(50% 0,91% 16%,88% 70%,50% 100%,12% 70%,9% 16%)!important;
  filter:drop-shadow(0 3px 3px rgba(0,71,61,.28))!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne .peHudEmpireBadge::before{
  content:"";
  position:absolute;
  top:-5px;
  left:4px;
  width:17px;
  height:8px;
  background:#ffe46b;
  clip-path:polygon(0 100%,0 42%,25% 64%,40% 0,62% 64%,100% 38%,100% 100%);
}
body.pe-fresh-theme .statsHud.peHudAllInOne .peHudEmpireBadge span{
  font-size:9px!important;
  font-weight:950!important;
  letter-spacing:-.03em!important;
  transform:translateY(1px)!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne .peFreshSpark{
  position:relative!important;
  display:block!important;
  width:100%!important;
  height:9px!important;
  min-height:9px!important;
  margin:0!important;
  overflow:hidden!important;
  border:0!important;
  background:transparent!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne .peFreshSpark::before{
  content:""!important;
  display:block!important;
  position:absolute!important;
  left:0!important;
  right:5px!important;
  top:4px!important;
  height:2px!important;
  border-radius:999px!important;
  background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.74) 14%,#fff 82%,rgba(255,255,255,.28) 100%)!important;
  clip-path:polygon(0 72%,13% 45%,25% 70%,38% 27%,51% 58%,64% 18%,77% 47%,89% 3%,100% 20%,100% 100%,0 100%)!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne .peFreshSpark::after{
  content:""!important;
  display:block!important;
  position:absolute!important;
  right:1px!important;
  top:1px!important;
  width:6px!important;
  height:6px!important;
  border-radius:50%!important;
  background:#fff!important;
  box-shadow:0 0 8px rgba(255,255,255,.9)!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne .peFreshSpark i{display:none!important}

body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment[data-fresh-stat="bucks"]{
  gap:4px!important;
  padding:5px 3px 5px 5px!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment[data-fresh-stat="bucks"] .peHudSegmentCopy{
  padding-right:9px!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment[data-fresh-stat="bucks"] strong{
  color:#f5fff2!important;
  font-size:clamp(12px,3.15vw,17px)!important;
  letter-spacing:-.045em!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne .peHudLbIcon{
  flex:0 0 26px!important;
  width:26px!important;
  height:26px!important;
  display:grid!important;
  place-items:center!important;
  border:1.5px solid rgba(255,255,255,.78)!important;
  border-radius:50%!important;
  color:#fff!important;
  background:linear-gradient(180deg,#71ed65,#16a92e)!important;
  box-shadow:inset 0 0 0 2px rgba(255,255,255,.22),0 3px 8px rgba(0,94,30,.32)!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne .peFreshLbText{
  font-size:8px!important;
  font-weight:950!important;
  line-height:1!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne .peHudPlus{
  position:absolute!important;
  top:5px!important;
  right:2px!important;
  z-index:2!important;
  width:16px!important;
  height:16px!important;
  min-width:16px!important;
  min-height:16px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  border:1px solid rgba(255,255,255,.62)!important;
  border-radius:5px!important;
  color:#078b69!important;
  background:linear-gradient(180deg,#efffc7,#aaf05c)!important;
  box-shadow:0 2px 6px rgba(0,85,55,.22)!important;
  font-size:13px!important;
  font-weight:950!important;
  line-height:1!important;
}

body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment[data-fresh-stat="boost"]{
  align-self:center!important;
  height:52px!important;
  min-height:52px!important;
  display:flex!important;
  gap:3px!important;
  padding:5px 5px!important;
  border:1px solid rgba(255,229,151,.78)!important;
  border-radius:14px!important;
  color:#fff!important;
  background:linear-gradient(180deg,#ffca3e 0%,#ff9d08 58%,#f47b00 100%)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.52),0 5px 11px rgba(154,82,0,.23)!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment[data-fresh-stat="boost"]::before{display:none!important}
body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment[data-fresh-stat="boost"] .peHudSegmentCopy{
  display:grid!important;
  grid-template-rows:auto auto!important;
  gap:0!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment[data-fresh-stat="boost"] .peFreshStatLabel{
  color:#fff!important;
  font-size:7px!important;
  text-shadow:0 1px 2px rgba(123,55,0,.22)!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment[data-fresh-stat="boost"] strong{
  color:#fff!important;
  font-size:clamp(15px,4.1vw,21px)!important;
  letter-spacing:-.04em!important;
  text-shadow:0 2px 3px rgba(129,54,0,.28)!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne .peHudBoostIcon{
  flex:0 0 19px!important;
  width:19px!important;
  height:24px!important;
  display:grid!important;
  place-items:center!important;
  color:#fff8ce!important;
  filter:drop-shadow(0 2px 1px rgba(133,59,0,.26))!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne .peHudBoostIcon svg{
  width:19px!important;
  height:24px!important;
  fill:#fff4a7!important;
  stroke:#d97100!important;
  stroke-width:1.2!important;
}

body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSettings{
  align-self:center!important;
  width:34px!important;
  height:48px!important;
  min-width:34px!important;
  min-height:48px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  border:1px solid rgba(255,255,255,.48)!important;
  border-radius:13px!important;
  color:#fff!important;
  background:rgba(0,101,89,.22)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18)!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSettings svg{
  width:20px!important;
  height:20px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.7!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSettings:active{transform:scale(.95)!important}

/* Use the space recovered by the shorter HUD. */
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) :is(#map,.worldShade,.scanGlow){
  top:calc(86px + var(--pef-safe-top))!important;
}

@media (max-width:390px){
  body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .statsHud.peHudAllInOne{
    left:calc(6px + var(--pef-safe-left))!important;
    right:calc(6px + var(--pef-safe-right))!important;
    height:68px!important;
    grid-template-columns:42px minmax(0,1.62fr) minmax(0,1fr) minmax(49px,.72fr) 29px!important;
    gap:2px!important;
    padding:4px!important;
    border-radius:21px!important;
  }
  body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudAvatar,
  body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment,
  body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSettings{
    height:60px!important;
    min-height:60px!important;
  }
  body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudAvatar{
    font-size:22px!important;
    border-width:2px!important;
  }
  body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment{
    gap:3px!important;
    padding-left:3px!important;
    padding-right:3px!important;
  }
  body.pe-fresh-theme .statsHud.peHudAllInOne .peHudEmpireBadge{
    flex-basis:22px!important;
    width:22px!important;
    height:26px!important;
  }
  body.pe-fresh-theme .statsHud.peHudAllInOne .peHudEmpireBadge::before{left:3px!important;width:16px!important}
  body.pe-fresh-theme .statsHud.peHudAllInOne .peFreshStatLabel{font-size:6.5px!important}
  body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment strong{font-size:13px!important}
  body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment[data-fresh-stat="rent"] strong{font-size:13.5px!important}
  body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment[data-fresh-stat="bucks"] strong{font-size:11.5px!important}
  body.pe-fresh-theme .statsHud.peHudAllInOne .peHudLbIcon{
    flex-basis:23px!important;
    width:23px!important;
    height:23px!important;
  }
  body.pe-fresh-theme .statsHud.peHudAllInOne .peHudPlus{
    top:5px!important;
    right:1px!important;
    width:14px!important;
    height:14px!important;
    min-width:14px!important;
    min-height:14px!important;
    font-size:11px!important;
  }
  body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment[data-fresh-stat="boost"]{
    height:48px!important;
    min-height:48px!important;
    padding:4px 3px!important;
    border-radius:12px!important;
  }
  body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment[data-fresh-stat="boost"] strong{font-size:15px!important}
  body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment[data-fresh-stat="boost"] .peFreshStatLabel{font-size:6px!important}
  body.pe-fresh-theme .statsHud.peHudAllInOne .peHudBoostIcon{
    flex-basis:16px!important;
    width:16px!important;
  }
  body.pe-fresh-theme .statsHud.peHudAllInOne .peHudBoostIcon svg{width:16px!important;height:21px!important}
  body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSettings{
    width:29px!important;
    min-width:29px!important;
    height:44px!important;
    min-height:44px!important;
    border-radius:11px!important;
  }
  body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSettings svg{width:17px!important;height:17px!important}
  body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) :is(#map,.worldShade,.scanGlow){
    top:calc(81px + var(--pef-safe-top))!important;
  }
}

@media (max-width:350px){
  body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .statsHud.peHudAllInOne{
    grid-template-columns:39px minmax(0,1.58fr) minmax(0,.98fr) minmax(46px,.7fr) 27px!important;
  }
  body.pe-fresh-theme .statsHud.peHudAllInOne .peHudEmpireBadge{display:none!important}
  body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment[data-fresh-stat="rent"] strong{font-size:12.5px!important}
  body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment[data-fresh-stat="bucks"] strong{font-size:10.5px!important}
}
/* Guard against legacy HUD centring transforms. */
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .statsHud.peHudAllInOne{
  transform:none!important;
  max-width:none!important;
  min-width:0!important;
}
/* Final mobile proportions for the selected design: circular avatar and readable labels. */
body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudAvatar{
  align-self:center!important;
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  min-height:46px!important;
}
@media (max-width:390px){
  body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .statsHud.peHudAllInOne{
    height:72px!important;
  }
  body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudAvatar{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    min-height:42px!important;
  }
  body.pe-fresh-theme .statsHud.peHudAllInOne .peFreshStatLabel{font-size:7.5px!important}
  body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment[data-fresh-stat="rent"] strong{font-size:14px!important}
  body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment[data-fresh-stat="bucks"] strong{font-size:12px!important}
  body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment[data-fresh-stat="boost"] .peFreshStatLabel{font-size:6.8px!important}
  body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) :is(#map,.worldShade,.scanGlow){
    top:calc(85px + var(--pef-safe-top))!important;
  }
}
/* Crisp trend line and legible compact labels. */
body.pe-fresh-theme .statsHud.peHudAllInOne .peFreshSpark::before,
body.pe-fresh-theme .statsHud.peHudAllInOne .peFreshSpark::after{display:none!important}
body.pe-fresh-theme .statsHud.peHudAllInOne .peFreshSpark svg{
  display:block!important;
  width:100%!important;
  height:9px!important;
  overflow:visible!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne .peFreshSpark polyline{
  fill:none!important;
  stroke:rgba(255,255,255,.94)!important;
  stroke-width:2!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
  vector-effect:non-scaling-stroke!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne .peFreshSpark circle{
  fill:#fff!important;
  stroke:rgba(4,133,120,.34)!important;
  stroke-width:1!important;
  vector-effect:non-scaling-stroke!important;
}
@media (max-width:390px){
  body.pe-fresh-theme .statsHud.peHudAllInOne .peFreshStatLabel{font-size:8.2px!important}
  body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment[data-fresh-stat="boost"] .peFreshStatLabel{font-size:7.2px!important}
}
/* Reset legacy named grid areas inside the new connected HUD segments. */
body.pe-fresh-theme .statsHud.peHudAllInOne .peHudSegmentCopy>.peFreshStatLabel,
body.pe-fresh-theme .statsHud.peHudAllInOne .peHudSegmentCopy>strong,
body.pe-fresh-theme .statsHud.peHudAllInOne .peHudSegmentCopy>.peFreshSpark{
  grid-area:auto!important;
  position:static!important;
  inset:auto!important;
  align-self:auto!important;
  justify-self:stretch!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne .peHudSegmentCopy>.peFreshStatLabel,
body.pe-fresh-theme .statsHud.peHudAllInOne .peHudSegmentCopy>strong,
body.pe-fresh-theme .statsHud.peHudAllInOne .peHudSegmentCopy>.peFreshSpark{
  grid-column-start:1!important;
  grid-column-end:-1!important;
  grid-row-start:auto!important;
  grid-row-end:auto!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne .peHudSegmentCopy{
  grid-template-columns:minmax(0,1fr)!important;
  grid-auto-rows:auto!important;
}
/* Flex layout fully isolates the design-10 copy from legacy grid-area rules. */
body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment .peHudSegmentCopy{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:center!important;
  gap:1px!important;
}
body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment .peHudSegmentCopy>span.peFreshStatLabel,
body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment .peHudSegmentCopy>strong,
body.pe-fresh-theme .statsHud.peHudAllInOne>.peHudSegment .peHudSegmentCopy>span.peFreshSpark{
  flex:0 0 auto!important;
  width:100%!important;
  grid-area:auto!important;
  grid-column:auto!important;
  grid-row:auto!important;
}

/* ============================================================
   Phase 11.15 — map split-line removal + clearer parcel visibility
   ============================================================ */
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .worldShade{
  background:
    linear-gradient(180deg,
      rgba(248,255,255,.05) 0%,
      rgba(248,255,255,.022) 16%,
      rgba(248,255,255,.002) 34%,
      rgba(247,253,252,.045) 62%,
      rgba(245,251,250,.12) 82%,
      rgba(244,251,250,.22) 100%),
    radial-gradient(circle at 50% 48%,transparent 46%,rgba(238,250,248,.04) 100%)!important;
}

body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) #map{
  background:#dff4ea!important;
  filter:saturate(1.15) brightness(1.085) contrast(1.03)!important;
}

body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .mapboxgl-canvas,
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .mapboxgl-canvas-container{
  filter:saturate(1.08) brightness(1.05) contrast(1.03)!important;
}

/* ============================================================
   Phase 11.16 — seamless live map shell (remove split lines)
   ============================================================ */
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]){
  background:#dff5ef!important;
}
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) :is(#map,.worldShade,.scanGlow){
  top:0!important;
  bottom:0!important;
}
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .worldShade{
  background:
    linear-gradient(180deg,
      rgba(247,253,251,.18) 0%,
      rgba(247,253,251,.10) 18%,
      rgba(247,253,251,.06) 42%,
      rgba(247,253,251,.08) 68%,
      rgba(247,253,251,.14) 100%),
    radial-gradient(circle at 50% 48%,rgba(255,255,255,.02),rgba(238,250,248,.05) 100%)!important;
}

/* ============================================================
   Phase 11.17 — hard removal of the map split overlay
   ============================================================ */
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"])::before,
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"])::after{
  content:none!important;
  display:none!important;
  background:none!important;
}
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) #map::before,
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) #map::after,
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .worldShade,
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .scanGlow{
  content:none!important;
  display:none!important;
  background:none!important;
  opacity:0!important;
}
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) #map{
  inset:0!important;
  top:0!important;
  right:0!important;
  bottom:0!important;
  left:0!important;
  width:100vw!important;
  height:100dvh!important;
  min-height:100dvh!important;
  border:0!important;
  border-radius:0!important;
  filter:none!important;
  overflow:hidden!important;
}
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) #map .mapboxgl-map,
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) #map .mapboxgl-canvas-container,
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) #map .mapboxgl-canvas{
  width:100%!important;
  height:100%!important;
  filter:none!important;
  border:0!important;
  box-shadow:none!important;
}

/* ============================================================
   Phase 11.18 — grid-fit parcels + smaller separated Buy button
   ============================================================ */
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .buyLandButton{
  width:min(460px,calc(100vw - 76px - var(--pef-safe-left) - var(--pef-safe-right)))!important;
  height:52px!important;
  min-height:52px!important;
  bottom:calc(96px + var(--pef-safe-bottom))!important;
  padding:4px 17px!important;
  gap:9px!important;
  border-radius:19px!important;
  box-shadow:0 8px 19px rgba(11,161,151,.20),inset 0 1px 0 rgba(255,255,255,.44)!important;
}
body.pe-fresh-theme .buyLandButton .pe10BuyIcon,
body.pe-fresh-theme .buyLandButton .pe10BuyIcon svg{
  width:25px!important;
  height:25px!important;
}
body.pe-fresh-theme .buyLandButton .pe10BuyCopy strong{
  font-size:19px!important;
}
@media(max-width:390px){
  body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .buyLandButton{
    width:calc(100vw - 68px - var(--pef-safe-left) - var(--pef-safe-right))!important;
    height:50px!important;
    min-height:50px!important;
    bottom:calc(95px + var(--pef-safe-bottom))!important;
  }
  body.pe-fresh-theme .buyLandButton .pe10BuyCopy strong{font-size:18px!important}
}

/* ============================================================
   Phase 11.19 — exact My Parcels page using live 3D parcel previews
   ============================================================ */
body[data-pe-page="myland"]{
  background:linear-gradient(180deg,#edf8fb 0%,#effaf9 48%,#eef9f4 100%)!important;
  overflow-x:hidden!important;
}
body[data-pe-page="myland"] :is(#map,.worldShade,.scanGlow,#fxLayer,.gameTopbar,.statsHud,.levelHud,.parcelCard,#purchaseConfirm,#buyLandMode,#gpsButton,#installButton,#updateButton,#onlineStatus,.atlasStatusStrip,.roundButton,.sheetPanel:not(#myLandPanel),#tutorialOverlay,#milestonePopup,#rarityReveal,#toast){display:none!important}
body[data-pe-page="myland"] .pe119MyParcelsHero{
  position:relative;
  width:min(100%,780px);
  margin:0 auto;
  padding:calc(12px + env(safe-area-inset-top,0px)) 14px 0;
}
body[data-pe-page="myland"] .pe119HeroArt{
  display:block;
  width:100%;
  aspect-ratio:710/390;
  object-fit:cover;
  border-radius:0 0 30px 30px;
}
body[data-pe-page="myland"] .pe119HeroBadge{
  position:absolute;
  left:50%;
  bottom:22px;
  transform:translateX(-50%);
  width:min(56%,350px);
  filter:drop-shadow(0 10px 16px rgba(13,87,99,.14));
}
body[data-pe-page="myland"] #myLandPanel,
body[data-pe-page="myland"] #myLandPanel[hidden]{
  display:block!important;
  position:relative!important;
  inset:auto!important;
  width:min(calc(100% - 24px),720px)!important;
  margin:-18px auto 0!important;
  padding:22px 16px calc(116px + env(safe-area-inset-bottom,0px))!important;
  border-radius:34px 34px 28px 28px!important;
  background:rgba(255,255,255,.97)!important;
  box-shadow:0 18px 38px rgba(25,93,98,.12)!important;
  overflow:visible!important;
  z-index:2!important;
  min-height:auto!important;
}
body[data-pe-page="myland"] #myLandPanel .sheetHeader{
  display:flex!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin:0 0 12px!important;
  padding:0!important;
  background:none!important;
  border:0!important;
  box-shadow:none!important;
}
body[data-pe-page="myland"] #myLandPanel .sheetHeader .pe119HeaderCopy h2{
  margin:0!important;
  color:#123950!important;
  font-size:clamp(32px,7vw,50px)!important;
  line-height:1!important;
  letter-spacing:-.045em!important;
}
body[data-pe-page="myland"] #myLandPanel .sheetHeader .pe119HeaderCopy p{
  margin:8px 0 0!important;
  color:#6d8590!important;
  font-size:clamp(18px,3vw,22px)!important;
}
body[data-pe-page="myland"] #myLandPanel .sheetHeader .pe119HeaderCopy p strong{color:#25b271!important}
body[data-pe-page="myland"] .pe119HeaderActions{display:flex;gap:10px}
body[data-pe-page="myland"] .pe119HeaderActions button{
  width:54px;height:54px;border-radius:18px;border:1px solid rgba(33,173,159,.16);background:#fff;color:#25a290;font-size:26px;box-shadow:0 6px 16px rgba(20,100,102,.08)
}
body[data-pe-page="myland"] .portfolioHero,
body[data-pe-page="myland"] .rarityBreakdown,
body[data-pe-page="myland"] .pe106CollectionShowcase,
body[data-pe-page="myland"] .pe106CollectionToolbar{display:none!important}
body[data-pe-page="myland"] .pe119FilterBar{
  display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 14px;
}
body[data-pe-page="myland"] .pe119FilterBar button{
  display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border-radius:16px;border:1px solid rgba(23,166,148,.14);background:#fbfdfd;color:#587080;font-weight:700;font-size:16px;box-shadow:0 4px 10px rgba(19,79,93,.04)
}
body[data-pe-page="myland"] .pe119FilterBar button.active{border-color:#5cd990;background:#f0fff7;color:#1a806f}
body[data-pe-page="myland"] .pe119FilterBar .dot{width:10px;height:10px;border-radius:50%;display:inline-block}
body[data-pe-page="myland"] .pe119FilterBar .dot.common{background:#37d17b}
body[data-pe-page="myland"] .pe119FilterBar .dot.rare{background:#42b3ff}
body[data-pe-page="myland"] .pe119FilterBar .dot.epic{background:#b56eff}
body[data-pe-page="myland"] .pe119FilterBar .dot.legendary{background:#efbe26}
body[data-pe-page="myland"] .portfolioTools{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;
  margin:0 0 12px!important;padding:12px!important;border-radius:20px!important;
  background:#f7fcfb!important;border:1px solid rgba(28,166,153,.10)!important;box-shadow:none!important;
}
body[data-pe-page="myland"] .portfolioTools :is(label,button){display:none!important}
body[data-pe-page="myland"].pe119-tools-open .portfolioTools :is(label){display:flex!important;flex-direction:column;gap:6px!important}
body[data-pe-page="myland"].pe119-tools-open .portfolioTools{display:grid!important}
body[data-pe-page="myland"] .portfolioTools select,
body[data-pe-page="myland"] .portfolioTools input{height:42px!important;border-radius:14px!important;border:1px solid rgba(23,166,148,.18)!important;background:#fff!important;color:#183b4f!important;padding:0 12px!important}
body[data-pe-page="myland"] #myLandList.pe106CollectionGrid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px!important;margin:0!important}
body[data-pe-page="myland"] .pe119ParcelCard{border-radius:24px!important;border:1px solid rgba(29,162,144,.14)!important;background:#fff!important;box-shadow:0 8px 20px rgba(24,90,100,.06)!important;overflow:hidden!important}
body[data-pe-page="myland"] .pe119ParcelCard.rarity-common{background:linear-gradient(180deg,#ffffff,#fbfffd)!important}
body[data-pe-page="myland"] .pe119ParcelCard.rarity-rare{background:linear-gradient(180deg,#ffffff,#f8fcff)!important}
body[data-pe-page="myland"] .pe119ParcelCard.rarity-epic{background:linear-gradient(180deg,#ffffff,#fcf8ff)!important}
body[data-pe-page="myland"] .pe119ParcelCard.rarity-legendary{background:linear-gradient(180deg,#ffffff,#fffaf0)!important}
body[data-pe-page="myland"] .pe119ParcelHit{all:unset;display:block;width:100%;cursor:pointer;padding:12px 12px 14px}
body[data-pe-page="myland"] .pe119ParcelTop{display:flex;align-items:center;gap:8px;color:#557180;font-size:14px;font-weight:700;margin-bottom:8px}
body[data-pe-page="myland"] .pe119ParcelDot{width:10px;height:10px;border-radius:50%;background:var(--parcel-accent,#37d17b);display:inline-block}
body[data-pe-page="myland"] .pe119ParcelCard.rarity-common .pe119ParcelDot{background:#37d17b}
body[data-pe-page="myland"] .pe119ParcelCard.rarity-rare .pe119ParcelDot{background:#42b3ff}
body[data-pe-page="myland"] .pe119ParcelCard.rarity-epic .pe119ParcelDot{background:#b56eff}
body[data-pe-page="myland"] .pe119ParcelCard.rarity-legendary .pe119ParcelDot{background:#efbe26}
body[data-pe-page="myland"] .pe119ParcelVisual{display:grid;place-items:center;min-height:142px;margin:0;border-radius:18px;background:linear-gradient(180deg,rgba(242,251,249,.92),rgba(251,255,255,.98))}
body[data-pe-page="myland"] .pe119ParcelVisual img{width:100%;max-width:180px;max-height:132px;object-fit:contain;filter:drop-shadow(0 10px 12px rgba(16,98,95,.14))}
body[data-pe-page="myland"] .pe119ParcelMeta{padding:12px 2px 0}
body[data-pe-page="myland"] .pe119ParcelMeta h3{margin:0;color:#173c52!important;font-size:16px!important;font-weight:900!important;letter-spacing:-.02em}
body[data-pe-page="myland"] .pe119ParcelIncome{margin:6px 0 8px!important;color:#193f55!important;font-size:15px!important;font-weight:800!important}
body[data-pe-page="myland"] .pe119ParcelIncome span{color:#6f8390!important;font-weight:700!important}
body[data-pe-page="myland"] .pe119ParcelTheme{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border-radius:999px;background:#f1faf7;color:#319373;font-size:13px;font-weight:700}
body[data-pe-page="myland"] .pe119ParcelCard.rarity-rare .pe119ParcelTheme{background:#eef7ff;color:#348ad6}
body[data-pe-page="myland"] .pe119ParcelCard.rarity-epic .pe119ParcelTheme{background:#f7efff;color:#985de2}
body[data-pe-page="myland"] .pe119ParcelCard.rarity-legendary .pe119ParcelTheme{background:#fff5dc;color:#b88b08}
body[data-pe-page="myland"] .pe119MapButton{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;margin:16px 0 0;min-height:64px;border:0;border-radius:999px;background:linear-gradient(90deg,#58de79,#20d0a0,#12c0dd);color:#fff;box-shadow:0 14px 24px rgba(17,153,160,.24);font-size:18px;font-weight:900}
body[data-pe-page="myland"] .pe119MapButton span{font-size:26px}
body[data-pe-page="myland"] .bottomNav.coreNav{position:fixed!important;left:50%!important;bottom:max(12px,env(safe-area-inset-bottom,0px))!important;transform:translateX(-50%)!important;width:min(calc(100% - 24px),720px)!important;padding:14px 8px 12px!important;border-radius:28px!important;background:rgba(255,255,255,.96)!important;border:1px solid rgba(30,157,148,.10)!important;box-shadow:0 14px 30px rgba(23,86,97,.12)!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:2px!important;z-index:30!important}
body[data-pe-page="myland"] .bottomNav.coreNav button{min-height:62px!important;border:0!important;background:transparent!important;color:#94a6b3!important;border-radius:18px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6px!important;padding:8px 4px!important}
body[data-pe-page="myland"] .bottomNav.coreNav button .pe119NavIcon{font-size:22px;line-height:1}
body[data-pe-page="myland"] .bottomNav.coreNav button span:last-child{font-size:13px;font-weight:700}
body[data-pe-page="myland"] .bottomNav.coreNav button.active{color:#1d9c88!important}
@media(max-width:700px){
  body[data-pe-page="myland"] #myLandList.pe106CollectionGrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:460px){
  body[data-pe-page="myland"] .pe119HeroBadge{width:min(70%,300px)}
  body[data-pe-page="myland"] #myLandPanel{width:min(calc(100% - 16px),720px)!important;padding:18px 12px calc(112px + env(safe-area-inset-bottom,0px))!important}
  body[data-pe-page="myland"] .pe119FilterBar{gap:8px}
  body[data-pe-page="myland"] .pe119FilterBar button{font-size:14px;padding:0 12px;min-height:40px}
  body[data-pe-page="myland"] #myLandList.pe106CollectionGrid{gap:12px!important}
  body[data-pe-page="myland"] .pe119ParcelVisual{min-height:124px}
  body[data-pe-page="myland"] .pe119ParcelVisual img{max-height:116px}
}

/* ============================================================
   Phase 11.28 — corrected map HUD sizing and full map backdrop
   ============================================================ */
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]){
  background:#dff5ef!important;
}
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) #map{
  position:fixed!important;
  inset:0!important;
  top:0!important;
  right:0!important;
  bottom:0!important;
  left:0!important;
  width:100vw!important;
  height:100dvh!important;
  min-height:100dvh!important;
  z-index:0!important;
  border:0!important;
  border-radius:0!important;
  overflow:hidden!important;
  background:#dff5ef!important;
}
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) #map .mapboxgl-map,
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) #map .mapboxgl-canvas-container,
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) #map .mapboxgl-canvas{
  position:absolute!important;
  inset:0!important;
  top:0!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
}
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .worldShade{
  position:fixed!important;
  inset:0!important;
  top:0!important;
  right:0!important;
  bottom:0!important;
  left:0!important;
  z-index:1!important;
  pointer-events:none!important;
  background:linear-gradient(180deg,rgba(244,253,251,.12),rgba(244,253,251,.04) 40%,rgba(244,253,251,.10))!important;
}
body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .scanGlow{display:none!important}

body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .statsHud.peTopHudCards{
  position:fixed!important;
  z-index:1320!important;
  top:calc(12px + var(--pef-safe-top))!important;
  left:calc(10px + var(--pef-safe-left))!important;
  right:calc(10px + var(--pef-safe-right))!important;
  width:auto!important;
  height:auto!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.42fr) minmax(0,1.18fr) minmax(0,.82fr)!important;
  align-items:stretch!important;
  gap:10px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:none!important;
  box-shadow:none!important;
  transform:none!important;
  overflow:visible!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
body.pe-fresh-theme .statsHud.peTopHudCards>.peFreshStatCard{
  position:relative!important;
  min-width:0!important;
  width:auto!important;
  height:84px!important;
  min-height:84px!important;
  display:grid!important;
  align-content:center!important;
  gap:5px!important;
  padding:13px 12px 11px!important;
  margin:0!important;
  border:1px solid rgba(190,219,213,.96)!important;
  border-radius:24px!important;
  background:rgba(255,255,255,.97)!important;
  box-shadow:0 9px 21px rgba(49,103,109,.12)!important;
  overflow:hidden!important;
  transform:none!important;
}
body.pe-fresh-theme .statsHud.peTopHudCards>.peFreshStatCard::before,
body.pe-fresh-theme .statsHud.peTopHudCards>.peFreshStatCard::after{display:none!important}
body.pe-fresh-theme .statsHud.peTopHudCards .peFreshStatLabel{
  display:block!important;
  min-width:0!important;
  margin:0!important;
  color:#718197!important;
  font-size:8px!important;
  font-weight:800!important;
  line-height:1.1!important;
  letter-spacing:0!important;
  text-transform:none!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
}
body.pe-fresh-theme .statsHud.peTopHudCards>.peFreshStatCard strong{
  display:block!important;
  min-width:0!important;
  max-width:100%!important;
  margin:0!important;
  color:#193b5b!important;
  font-size:clamp(17px,4.7vw,25px)!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:-.045em!important;
  text-shadow:none!important;
  white-space:nowrap!important;
  overflow:visible!important;
}
body.pe-fresh-theme .statsHud.peTopHudCards>.peFreshStatCard[data-fresh-stat="rent"]{
  grid-template-rows:auto auto 17px!important;
  align-content:center!important;
}
body.pe-fresh-theme .statsHud.peTopHudCards>.peFreshStatCard[data-fresh-stat="rent"] strong{
  color:#42b9bd!important;
  font-size:clamp(16px,4.75vw,24px)!important;
}
body.pe-fresh-theme .statsHud.peTopHudCards>.peFreshStatCard[data-fresh-stat="rent"] .peFreshSpark{
  display:block!important;
  width:100%!important;
  height:17px!important;
  margin:0!important;
  overflow:visible!important;
}
body.pe-fresh-theme .statsHud.peTopHudCards>.peFreshStatCard[data-fresh-stat="rent"] .peFreshSpark svg{
  display:block!important;
  width:100%!important;
  height:17px!important;
  overflow:visible!important;
}
body.pe-fresh-theme .statsHud.peTopHudCards>.peFreshStatCard[data-fresh-stat="rent"] .peFreshSpark polyline{
  fill:none!important;
  stroke:#55c1c5!important;
  stroke-width:2.5!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
body.pe-fresh-theme .statsHud.peTopHudCards>.peFreshStatCard[data-fresh-stat="rent"] .peFreshSpark circle{
  fill:#55c1c5!important;
  stroke:#fff!important;
  stroke-width:1.4!important;
}
body.pe-fresh-theme .statsHud.peTopHudCards>.peFreshStatCard[data-fresh-stat="bucks"]{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:center!important;
  gap:6px!important;
  cursor:pointer!important;
}
body.pe-fresh-theme .statsHud.peTopHudCards .peHudBucksTop{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:5px!important;
  min-width:0!important;
}
body.pe-fresh-theme .statsHud.peTopHudCards .peHudBucksValueRow{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:6px!important;
  min-width:0!important;
  width:100%!important;
}
body.pe-fresh-theme .statsHud.peTopHudCards .peHudLbTokenImg{
  display:block!important;
  flex:0 0 28px!important;
  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  min-height:28px!important;
  object-fit:contain!important;
  filter:drop-shadow(0 3px 5px rgba(22,140,62,.17))!important;
}
body.pe-fresh-theme .statsHud.peTopHudCards>.peFreshStatCard[data-fresh-stat="bucks"] strong{
  flex:0 1 auto!important;
  color:#28a637!important;
  font-size:clamp(18px,4.7vw,24px)!important;
  overflow:visible!important;
}
body.pe-fresh-theme .statsHud.peTopHudCards .peHudPlus{
  position:static!important;
  flex:0 0 27px!important;
  width:27px!important;
  height:27px!important;
  min-width:27px!important;
  min-height:27px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  margin:0!important;
  border:2px solid #b5e185!important;
  border-radius:9px!important;
  background:linear-gradient(180deg,#fffbd9,#effbb7)!important;
  color:#6da11f!important;
  font-size:20px!important;
  font-weight:900!important;
  line-height:1!important;
  box-shadow:0 3px 8px rgba(88,132,29,.12)!important;
}
body.pe-fresh-theme .statsHud.peTopHudCards>.peFreshStatCard[data-fresh-stat="boost"]{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  gap:2px!important;
  text-align:center!important;
  border-color:rgba(244,204,136,.95)!important;
  background:linear-gradient(180deg,#fffefd,#fff9f0)!important;
}
body.pe-fresh-theme .statsHud.peTopHudCards .peHudBoostIcon{
  display:grid!important;
  place-items:center!important;
  width:20px!important;
  height:20px!important;
  color:#ef9e2d!important;
}
body.pe-fresh-theme .statsHud.peTopHudCards .peHudBoostIcon svg{
  display:block!important;
  width:20px!important;
  height:20px!important;
  fill:#ef9e2d!important;
  stroke:#ef9e2d!important;
  stroke-width:1.1!important;
}
body.pe-fresh-theme .statsHud.peTopHudCards .peHudBoostLabel{
  width:auto!important;
  color:#d88622!important;
  font-size:9px!important;
  text-align:center!important;
  overflow:visible!important;
}
body.pe-fresh-theme .statsHud.peTopHudCards>.peFreshStatCard[data-fresh-stat="boost"] strong{
  color:#e28a21!important;
  font-size:clamp(21px,5.5vw,29px)!important;
  text-align:center!important;
}

body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .pe108LocationStrip{
  position:fixed!important;
  z-index:1319!important;
  top:calc(108px + var(--pef-safe-top))!important;
  left:calc(10px + var(--pef-safe-left))!important;
  right:calc(10px + var(--pef-safe-right))!important;
  width:auto!important;
  height:50px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:10px!important;
  padding:0 14px!important;
  margin:0!important;
  border:1px solid rgba(190,219,213,.96)!important;
  border-radius:24px!important;
  background:rgba(255,255,255,.97)!important;
  box-shadow:0 9px 21px rgba(49,103,109,.11)!important;
  color:#2f4868!important;
  pointer-events:none!important;
  opacity:1!important;
  visibility:visible!important;
}
body.pe-fresh-theme .pe108LocationStrip .pe108Flag{font-size:20px!important}
body.pe-fresh-theme .pe108LocationStrip .pe108Place{font-size:13px!important;font-weight:850!important;color:#30486a!important}
body.pe-fresh-theme .pe108LocationStrip .pe108Spacer{display:block!important;flex:1 1 auto!important}
body.pe-fresh-theme .pe108LocationStrip .pe108Online{display:flex!important;align-items:center!important;gap:7px!important;color:#30486a!important;font-size:13px!important;font-weight:760!important}
body.pe-fresh-theme .pe108LocationStrip .pe108Online::before{content:""!important;display:block!important;width:11px!important;height:11px!important;border-radius:50%!important;background:#62c84e!important;box-shadow:0 0 0 4px rgba(98,200,78,.14)!important}
body.pe-fresh-theme .pe108LocationStrip[data-online="false"] .pe108Online::before{background:#ef6565!important;box-shadow:0 0 0 4px rgba(239,101,101,.14)!important}
body.pe-fresh-theme .pe108LocationStrip .pe108Chevron{font-size:17px!important;color:#667487!important}

@media (max-width:360px){
  body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .statsHud.peTopHudCards{
    left:calc(7px + var(--pef-safe-left))!important;
    right:calc(7px + var(--pef-safe-right))!important;
    gap:7px!important;
    grid-template-columns:minmax(0,1.45fr) minmax(0,1.2fr) minmax(0,.8fr)!important;
  }
  body.pe-fresh-theme .statsHud.peTopHudCards>.peFreshStatCard{
    height:78px!important;
    min-height:78px!important;
    padding:11px 9px 9px!important;
    border-radius:21px!important;
  }
  body.pe-fresh-theme .statsHud.peTopHudCards .peFreshStatLabel{font-size:7px!important}
  body.pe-fresh-theme .statsHud.peTopHudCards .peHudLbTokenImg{flex-basis:24px!important;width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important}
  body.pe-fresh-theme .statsHud.peTopHudCards .peHudPlus{flex-basis:24px!important;width:24px!important;height:24px!important;min-width:24px!important;min-height:24px!important;font-size:17px!important}
  body.pe-fresh-theme:is([data-pe-page="map"],[data-pe-page="buy"]) .pe108LocationStrip{
    top:calc(100px + var(--pef-safe-top))!important;
    left:calc(7px + var(--pef-safe-left))!important;
    right:calc(7px + var(--pef-safe-right))!important;
    height:46px!important;
  }
}
