/* IntoWorlds public Contact us menu — extends the existing Prototype badge only. */
html body .site-header.site-header .iw-prototype-badge{
  border-color:rgba(224,189,88,.7)!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:0!important;
  pointer-events:auto!important;
  cursor:pointer!important;
}

html body .site-header.site-header>.brand.brand>.iw-prototype-badge-brand{
  width:108px!important;
  min-width:108px!important;
  flex-basis:108px!important;
}

html body .site-header.site-header .iw-prototype-badge .iw-contact-trigger{
  appearance:none!important;
  position:relative!important;
  display:grid!important;
  align-content:center!important;
  justify-items:center!important;
  grid-template-columns:minmax(0,1fr) 20px!important;
  grid-template-rows:auto auto!important;
  column-gap:4px!important;
  row-gap:2px!important;
  width:100%!important;
  min-width:0!important;
  min-height:100%!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:4px 5px!important;
  border:0!important;
  border-radius:inherit!important;
  background:transparent!important;
  color:inherit!important;
  box-shadow:none!important;
  font:inherit!important;
  letter-spacing:inherit!important;
  line-height:inherit!important;
  text-transform:none!important;
  white-space:nowrap!important;
  cursor:pointer!important;
}

.iw-contact-trigger .iw-contact-prototype{
  grid-column:1!important;
  grid-row:1!important;
  min-width:0!important;
  display:block!important;
  color:#b9a970!important;
  font-size:7px!important;
  font-weight:800!important;
  letter-spacing:.08em!important;
  line-height:1.05!important;
  text-transform:uppercase!important;
}

.iw-contact-trigger strong{
  grid-column:1!important;
  grid-row:2!important;
  min-width:0!important;
  display:block!important;
  color:#e0bd58!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.04em!important;
  line-height:1.15!important;
}

.iw-contact-chevron{
  position:static;
  grid-column:2;
  grid-row:1 / 3;
  align-self:center;
  display:grid;
  place-items:center;
  width:20px;
  height:22px;
  box-sizing:border-box;
  border-left:1px solid rgba(239,189,73,.5);
  color:#e0bd58;
}
.iw-contact-chevron::before{
  content:"";
  width:7px;
  height:7px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:translateY(-2px) rotate(45deg);
  transition:transform .16s ease;
}
html body .site-header.site-header .iw-contact-trigger:hover,
html body .site-header.site-header .iw-contact-trigger:focus-visible{
  background:rgba(224,189,88,.1)!important;
}

.iw-prototype-badge[data-contact-open="true"]{
  border-color:rgba(224,189,88,.7)!important;
  background:rgba(224,189,88,.1)!important;
  box-shadow:none!important;
}

.iw-prototype-badge[data-contact-open="true"] .iw-contact-chevron::before{
  transform:translateY(2px) rotate(225deg);
}

.iw-contact-popover{
  position:fixed;
  z-index:2147483600;
  width:min(390px,calc(100vw - 20px));
  max-height:min(680px,calc(100vh - 20px));
  overflow:auto;
  padding:15px;
  box-sizing:border-box;
  border:1px solid rgba(239,189,73,.62);
  border-radius:14px;
  background:linear-gradient(150deg,rgba(18,22,29,.995),rgba(5,8,12,.998));
  color:#f4f6f8;
  box-shadow:0 20px 60px rgba(0,0,0,.72),inset 0 1px rgba(255,255,255,.04);
  font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  text-transform:none;
  letter-spacing:normal;
}

.iw-contact-popover[hidden]{display:none!important}

.iw-contact-popover-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:7px;
}

.iw-contact-popover-head span{
  display:block;
  margin-bottom:3px;
  color:#e8ba45;
  font-size:9px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.iw-contact-popover-head strong{
  display:block;
  color:#fff;
  font-size:19px;
  line-height:1.2;
}

.iw-contact-close{
  appearance:none;
  flex:0 0 30px;
  width:30px;
  height:30px;
  margin:0;
  padding:0;
  border:1px solid #35404d;
  border-radius:50%;
  background:#10151c;
  color:#e8edf3;
  font-size:18px;
  line-height:28px;
  cursor:pointer;
}

.iw-contact-close:hover,.iw-contact-close:focus-visible{
  border-color:#efbd49;
  color:#f5ce68;
  outline:none;
}

.iw-contact-intro{
  margin:0 0 13px;
  color:#b8c2cf;
  font-size:11px;
  line-height:1.5;
}

.iw-contact-field{
  display:grid;
  gap:5px;
  margin-top:9px;
}

.iw-contact-field>span:not(.iw-contact-address-value){
  color:#f2c65b;
  font-size:9px;
  font-weight:900;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.iw-contact-field select,.iw-contact-field input,.iw-contact-address-value{
  appearance:none;
  display:block;
  width:100%;
  height:42px;
  box-sizing:border-box;
  border:1px solid #334150;
  border-radius:9px;
  background:#0c1219;
  color:#fff;
  padding:0 12px;
  font:750 13px/1 ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  outline:none;
}

.iw-contact-field select{
  cursor:pointer;
  background-image:linear-gradient(45deg,transparent 50%,#efbd49 50%),linear-gradient(135deg,#efbd49 50%,transparent 50%);
  background-position:calc(100% - 17px) 17px,calc(100% - 12px) 17px;
  background-size:5px 5px,5px 5px;
  background-repeat:no-repeat;
}

.iw-contact-field select:focus,.iw-contact-field input:focus,.iw-contact-address-value:focus{
  border-color:#efbd49;
  box-shadow:0 0 0 2px rgba(239,189,73,.13);
}

.iw-contact-field input,.iw-contact-address-value{
  cursor:text;
  user-select:text!important;
  -webkit-user-select:text!important;
}

.iw-contact-address-value{
  display:flex;
  align-items:center;
  overflow-wrap:anywhere;
}

.iw-contact-actions{
  display:grid;
  grid-template-columns:1fr 1.18fr;
  gap:8px;
  margin-top:10px;
}

.iw-contact-actions button,.iw-contact-actions a,.iw-contact-full-form{
  appearance:none;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  box-sizing:border-box;
  border:1px solid #9c792b;
  border-radius:9px;
  background:#14181d;
  color:#f1cb67;
  padding:8px 10px;
  font:850 11px/1.2 ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  text-align:center;
  text-decoration:none;
  cursor:pointer;
}

.iw-contact-actions a{
  border-color:rgba(224,189,88,.7);
  background:transparent;
  color:#e0bd58;
}

.iw-contact-actions button:hover,.iw-contact-actions button:focus-visible,
.iw-contact-actions a:hover,.iw-contact-actions a:focus-visible,.iw-contact-full-form:hover,.iw-contact-full-form:focus-visible{
  border-color:rgba(224,189,88,.7);
  background:rgba(224,189,88,.1);
  box-shadow:none;
  outline:none;
}

.iw-contact-status{
  min-height:15px;
  margin:6px 0 0;
  color:#9ee0ae;
  font-size:10px;
  font-weight:750;
  line-height:1.4;
  text-align:center;
}

.iw-contact-full-form{
  width:100%;
  margin-top:4px;
  border-color:#394655;
  color:#e9edf2;
}

.iw-contact-note{
  margin:10px 1px 0;
  color:#8997a7;
  font-size:9px;
  line-height:1.45;
}

.iw-contact-us-panel .iw-v17-contact-address-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:7px;
}

.iw-contact-us-panel [data-v17-contact-address]{
  display:flex;
  align-items:center;
  min-width:0;
  min-height:42px;
  box-sizing:border-box;
  padding:0 11px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:9px;
  background:#07101a;
  color:#fff;
  overflow-wrap:anywhere;
  font-size:12px;
  font-weight:750;
  cursor:text;
  user-select:text!important;
  -webkit-user-select:text!important;
}

.iw-contact-us-panel [data-v17-contact-address]:focus{
  border-color:#efbd49;
  box-shadow:0 0 0 2px rgba(239,189,73,.13);
  outline:none;
}

.iw-contact-us-panel [data-v17-copy-contact]{
  min-width:72px;
  border:1px solid rgba(239,189,73,.55);
  border-radius:9px;
  background:#14181d;
  color:#f2cb63;
  font-weight:850;
  cursor:pointer;
}

.iw-contact-us-panel .iw-v17-contact-safe{
  margin:12px 0 2px;
  padding:10px 12px;
  border:1px solid rgba(103,175,128,.25);
  border-radius:10px;
  background:rgba(37,95,57,.12);
  color:#afd6bb;
  font-size:11px;
  line-height:1.45;
}

@media(max-width:420px){
  html body .site-header.site-header>.brand.brand>.iw-prototype-badge-brand{
    width:100px!important;
    min-width:100px!important;
    flex-basis:100px!important;
  }
  .iw-contact-trigger .iw-contact-prototype{font-size:6.5px!important;letter-spacing:.045em!important}
  .iw-contact-trigger strong{font-size:8.5px!important}
  .iw-contact-popover{padding:12px;border-radius:12px}
  .iw-contact-popover-head strong{font-size:17px}
  .iw-contact-actions{grid-template-columns:1fr}
}

@media(min-width:421px) and (max-width:1120px){
  html body .site-header.site-header>.header-spacer.header-spacer>.iw-prototype-badge-spacer{
    width:108px!important;
    min-width:0!important;
    flex:0 1 108px!important;
  }
}

@media(min-width:421px) and (max-width:760px){
  html body .site-header.site-header>.header-spacer.header-spacer>.iw-prototype-badge-spacer{
    width:min(96px,100%)!important;
    min-width:0!important;
    flex-basis:96px!important;
  }
  .iw-contact-trigger .iw-contact-prototype{font-size:6.5px!important;letter-spacing:.045em!important}
  .iw-contact-trigger strong{font-size:9px!important}
}

@media(prefers-reduced-motion:reduce){
  .iw-contact-chevron::before{transition:none}
}

/* Keep a restrained keyboard focus indicator without a bright hover glow. */
html body .site-header.site-header .iw-contact-trigger:focus-visible,
.iw-contact-actions a:focus-visible,
.iw-contact-actions button:focus-visible{outline:1px solid #e0bd58;outline-offset:2px}
