body:is(.place-card-open,.pp-people-open,.daily-discovery-open,.pastpath-time-machine-open,.trekbound-travel-open,.trip-tools-visible,.tb-trip-open) > #trekBoundShareButton,
body:has(#pastPathPeople:not([hidden]),#dailyDiscoveryOverlay:not([hidden]),.pp-time-machine:not([hidden]),.trekbound-travel:not([hidden]),.mobile-place-sheet:not([hidden])) > #trekBoundShareButton {
  display:none!important;
}
.place-card-toolbar > .trekbound-inline-share { flex:0 0 auto; min-height:44px!important; }
#prominentMediaButton[hidden], [data-institution-media][hidden], #mobileSheetMediaButton[hidden] { display:none!important; }
.trekbound-travel__hero-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.trekbound-travel__hero-actions > button { min-height:44px; padding:8px 14px; border:1px solid #e8c87966; border-radius:9px; background:#4a2331; color:#fff4db; }
@media(max-width:620px) {
  .trekbound-travel__hero { flex-wrap:wrap; }
  .trekbound-travel__hero-actions { width:100%; justify-content:flex-start; }
  body.place-card-open .place-card-toolbar > .trekbound-inline-share { display:inline-flex!important; margin-left:auto; }
}

body.aurora-ui #auroraSearchPanel { border:1px solid #b99660!important; border-radius:10px!important; background:#271b20!important; color:#fff0da!important; box-shadow:0 20px 45px #08060899!important; scrollbar-color:#bd9764 #271b20; }
body.aurora-ui #auroraSearchPanel header :is(strong,span) { color:#ead3ad!important; }
body.aurora-ui #auroraSearchPanel button { border:1px solid #765b49!important; border-radius:7px!important; background:#38252c!important; color:#fff0da!important; }
body.aurora-ui #auroraSearchPanel button:is(:hover,[aria-selected="true"],:focus-visible) { border-color:#e4c27d!important; background:#542c39!important; }
body.aurora-ui #auroraSearchPanel button :is(strong,small,span) { color:#f3dfc1!important; }
body.aurora-ui .leaflet-control-attribution { max-height:none!important; overflow:visible!important; padding:3px 6px!important; border:1px solid #b79767!important; border-radius:5px 0 0 0!important; background:#302027f2!important; color:#fff0da!important; opacity:1!important; font:500 9px/1.25 system-ui,sans-serif!important; white-space:normal!important; }
body.aurora-ui .leaflet-control-attribution a { background:#302027!important; color:#f6d69b!important; }

@media(min-width:901px) and (max-width:1440px) and (min-height:601px) {
  html body.aurora-ui.pastpath-premium-v2.tb-calm-home .brand-row { display:grid!important; grid-template-columns:minmax(0,1fr)!important; gap:7px!important; min-height:108px!important; }
  html body.aurora-ui.pastpath-premium-v2.tb-calm-home .brand-copy { width:100%!important; }
  html body.aurora-ui.pastpath-premium-v2.tb-calm-home .brand-copy h1 { font-size:20px!important; overflow:visible!important; }
  html body.aurora-ui.pastpath-premium-v2.tb-calm-home .brand-actions { width:100%!important; flex-wrap:wrap!important; justify-content:flex-start!important; }
}

body.aurora-ui :is(.my-hub-tabs,.pp-studio-tabs,.founder-os-tabs) { scrollbar-width:auto!important; scrollbar-color:#dfb978 #302027!important; scroll-padding-inline:12px; }
body.aurora-ui :is(.my-hub-tabs,.pp-studio-tabs,.founder-os-tabs)::-webkit-scrollbar { height:8px; }
body.aurora-ui :is(.my-hub-tabs,.pp-studio-tabs,.founder-os-tabs)::-webkit-scrollbar-thumb { border-radius:8px; background:#dfb978; }

body:has(.founder-shell) { background:radial-gradient(circle at 50% 0,#492230,#1c1317 55%)!important; color:#f6e9d5!important; }
.founder-shell { color:#f6e9d5; }
.founder-shell .info-brand,.founder-shell .info-nav nav a { color:#f4dfb9!important; }
.founder-shell .info-nav a[aria-current=page] { color:#ffe0a1!important; }
@media(max-width:640px) {
  .pricing-shell .info-nav nav a[href="support.html"] { display:none; }
.pricing-shell .info-nav { margin-bottom:24px; }
}

/* Keep map attribution compact on phones after the desktop credit treatment. */
@media(max-width:760px){
  body.aurora-ui .leaflet-control-attribution{max-width:64vw!important;max-height:3.5em!important;overflow:auto!important;overscroll-behavior:contain!important;scrollbar-width:thin!important;font-size:8px!important;line-height:1.2!important;}
}
