/* A single readable palette for mobile navigation, controls and photo captions. */
body:is(.a62-gothic,.a71-agent-world) .skip{background:#f1eadd!important;color:#182a35!important}
body:is(.a62-gothic,.a71-agent-world) .site-footer :is(a,summary){color:#e0e8eb!important}
body:is(.a62-gothic,.a71-agent-world) .site-footer :is(a,summary):hover{color:#fff4dd!important}
body:is(.a62-gothic,.a71-agent-world) .mobile-bottom{background:#17242ef5!important;border-color:#778b9866!important}
body:is(.a62-gothic,.a71-agent-world) .mobile-bottom a{color:#d1dce2!important}
body:is(.a62-gothic,.a71-agent-world) .mobile-bottom a.active{background:#354d5b!important;color:#fff5e6!important}
body:is(.a62-gothic,.a71-agent-world) .mobile-bottom a :is(span,svg){color:inherit!important}
@media(max-width:1023px){
  body:is(.a62-gothic,.a71-agent-world) .mobile-menu.open{
    background:#1b2b36!important;
    border-color:#8296a366!important;
    padding:18px 22px 24px;
    gap:8px 12px;
    max-height:calc(100svh - 145px);
    overflow:auto;
    box-shadow:0 16px 30px #08121b80;
  }
  body:is(.a62-gothic,.a71-agent-world) .mobile-menu a{
    color:#e7edf0!important;
    padding:12px 14px;
    min-height:46px;
    border:1px solid transparent;
    border-radius:8px;
    line-height:1.5;
  }
  body:is(.a62-gothic,.a71-agent-world) .mobile-menu a.active{
    background:#f1eadd!important;
    color:#192b36!important;
    border-color:#f1eadd;
  }
  body:is(.a62-gothic,.a71-agent-world) .mobile-menu a:focus-visible{outline:2px solid #efd4ad;outline-offset:1px}
}
body:is(.a62-gothic,.a71-agent-world) :is(#main-content,dialog) :is(.btn.outline,.btn.ghost,.btn.light){
  background:#263b48!important;
  color:#f3eee5!important;
  border-color:#94a7b477!important;
}
body:is(.a62-gothic,.a71-agent-world) :is(#main-content,dialog) :is(.btn.outline,.btn.ghost,.btn.light)>:is(span,strong,small){color:inherit!important}
body:is(.a62-gothic,.a71-agent-world) :is(#main-content,dialog) .btn.dark:disabled{
  background:#b8c6ce!important;color:#20323e!important;opacity:1!important;border-color:#b8c6ce!important;
}
/* Selected tabs keep dark ink on paper; unselected tabs keep light ink on slate. */
body.a62-gothic #main-content :is(.afs-topic-nav,.afs-engine-nav,.afs-category-nav,.story-choices,.service-picks)>button{
  background:#233945!important;color:#e3eaf0!important;border-color:#8ca1af66!important;
  transition:border-color .2s ease,box-shadow .2s ease!important;
}
body.a62-gothic #main-content :is(.afs-topic-nav,.afs-engine-nav,.afs-category-nav,.story-choices,.service-picks)>button:is([aria-pressed=true],.selected,.active){
  background:#f1eadd!important;color:#20323e!important;border-color:#f1eadd!important;
}
body.a62-gothic #main-content :is(.afs-topic-nav,.afs-engine-nav,.afs-category-nav,.story-choices,.service-picks)>button>span{color:inherit!important}
body.a62-gothic #main-content .afs-wall-mobile-key>button{
  background:#f1eee6!important;color:#233641!important;border-color:#9aa9ae!important;
}
body.a62-gothic #main-content .afs-wall-mobile-key>button[aria-pressed=true]{background:#d1e0e7!important;color:#182c38!important;border-color:#607a8a!important}
body.a62-gothic #main-content .afs-wall-mobile-key>button>span{color:inherit!important}
body.a62-gothic #main-content :is(.afs-scheme-label,.afs-wall-hint){color:#d4e0e5!important}
body.a62-gothic #main-content :is(.afs-flat,.afs-house,.afs-wall-art) .afs-scheme-label{color:#293f4d!important}
body.a62-gothic #main-content .map-consent-card{background:#20333ff5!important;color:#f0eee7!important;border-color:#8ca1af66!important}
body.a62-gothic #main-content .map-consent-card :is(h3,p,a,.eyebrow){color:#e7edf0!important}
body.a62-gothic #main-content .owner-package-controls :is(input,select){background:#182a35!important;color:#f1ece3!important;border-color:#90a5b199!important;padding:12px 14px}
body.a62-gothic #main-content :is(.gift21-purchase-options>article,.cv21-contact){background:#203540!important;color:#eeeae2!important;border-color:#8ca1af66!important}
body.a62-gothic #main-content :is(.gift21-purchase-options>article,.cv21-contact) :is(h3,p,a:not(.btn)){color:#e7edf0!important}
body.a62-gothic #main-content .afs-hotspot>span{background:#e1d5c2!important;color:#20323e!important}
body:is(.a62-gothic,.a71-agent-world) .p30-auth .btn.dark{background:#ece9e2!important;color:#20323e!important;border-color:#ece9e2!important}
body:is(.a62-gothic,.a71-agent-world) .p30-auth .btn.dark>span{color:inherit!important}
body:is(.a62-gothic,.a71-agent-world) .p30-form #p30-status{color:#f3b9c3!important}
body.a62-gothic #main-content .legal-copy :is(p,li,a,td){color:#dbe4e8!important}
body.a62-gothic #main-content .legal-copy th{background:#233a47!important;color:#eef1ed!important;border-color:#8da2b166!important}
/* Captions have their own dark surface, even over a bright frame of a video. */
body.a62-gothic #main-content :is(.a71-photo-host figcaption,.gallery-photo>span){background:#172a35f2!important;color:#eef0ec!important}
body.a62-gothic #main-content :is(.a71-photo-host figcaption,.gallery-photo>span) :is(p,small,span,strong,h3){color:#dbe5e9!important}
body.a62-gothic #main-content .repair-preview figcaption>button:not(.btn){background:transparent!important;color:#f0ece3!important;border-color:#91a6b477!important}
body.a62-gothic #main-content :is(.buy17-photo-top,.keys-photo-caption,.vip22-real,.vip22-thumbs>button>span,.cv21-rent-photo>span,.queue17-render){
  background:#172a35f2!important;color:#f1eee7!important;padding:8px 12px;border-radius:5px;text-shadow:none;
}
body.a62-gothic #main-content .pk-time{color:#cfdbdd!important}
body.a62-gothic #main-content .keys-step-num{background:#253d4a!important;color:#e4edf0!important;border-color:#91a6b477!important}
body.a62-gothic #main-dialog .u16-lead-visual>div{background:#172a35f2!important}
@media(max-width:700px){
  body:is(.a62-gothic,.a71-agent-world) .site-footer :is(a,summary){line-height:1.65}
  body.a62-gothic #main-content .map-consent-card{padding:24px!important}
}
