body[data-route="contact"] #content-inner {
  width: 100%;
  max-width: none;
  min-height: 100%;
  padding: 0;
}

.contact-showcase,
.contact-showcase * {
  box-sizing: border-box;
}

.contact-showcase {
  --contact-gold: #e8b84d;
  --contact-line: rgba(224, 174, 67, .32);
  --contact-panel: rgba(5, 15, 29, .54);
  --contact-panel-strong: rgba(6, 17, 32, .72);
  position: relative;
  isolation: isolate;
  min-height: 100%;
  padding: clamp(22px, 2.3vw, 38px);
  overflow: hidden;
  color: #eaf0fa;
  background: url("../assets/contact-platform-bg.jpg") 8% center / cover no-repeat;
}

.contact-showcase::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 9, 19, .84) 0%, rgba(2, 10, 21, .67) 48%, rgba(2, 8, 17, .22) 76%, rgba(2, 8, 17, .43) 100%),
    linear-gradient(180deg, rgba(2, 8, 17, .08), rgba(2, 8, 17, .48));
}

.contact-showcase-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.contact-showcase-head h2 {
  position: relative;
  display: inline-block;
  margin: 0 0 8px;
  color: #f7d77e;
  font-size: clamp(31px, 3.1vw, 48px);
  line-height: 1;
  letter-spacing: .02em;
  text-shadow: 0 3px 24px rgba(229, 177, 67, .28);
}

.contact-showcase-head h2::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 3px;
  right: -25px;
  bottom: 4px;
  background: #2d8cff;
  transform: rotate(-58deg);
  box-shadow: 0 0 9px rgba(45, 140, 255, .7);
}

.contact-showcase-head p {
  margin: 0;
  color: #9eabbd;
  font-size: clamp(13px, 1vw, 16px);
  line-height: 1.7;
}

.contact-showcase-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.72fr) minmax(315px, .94fr);
  gap: clamp(22px, 2.7vw, 42px);
  align-items: stretch;
}

.contact-showcase-main,
.contact-showcase-aside {
  min-width: 0;
}

.contact-directory {
  display: grid;
  gap: 7px;
  border: 0;
}

body[data-route="contact"] .contact-channel {
  min-height: 92px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 17px;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid var(--contact-line);
  border-radius: 9px;
  background: linear-gradient(100deg, rgba(7, 19, 36, .48), rgba(8, 20, 36, .22));
  box-shadow: inset 0 1px rgba(255, 255, 255, .025);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}

body[data-route="contact"] .contact-channel:hover {
  border-color: rgba(239, 190, 83, .6);
  background: linear-gradient(100deg, rgba(11, 28, 49, .58), rgba(8, 20, 36, .28));
  transform: translateX(2px);
}

body[data-route="contact"] .contact-channel-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(233, 184, 77, .52);
  border-radius: 15px;
  color: #e9bc59;
  background: rgba(11, 26, 45, .3);
  box-shadow: inset 0 0 20px rgba(232, 184, 77, .06);
  font-family: Consolas, monospace;
  font-size: 20px;
  font-weight: 800;
}

.contact-channel-title {
  display: flex;
  align-items: center;
  gap: 9px;
}

.contact-channel-title strong {
  font-size: clamp(16px, 1.25vw, 20px);
}

.contact-channel-title span {
  padding: 2px 7px;
  border-radius: 3px;
  color: #9fc8ff;
  background: rgba(31, 104, 193, .32);
  font-size: 11px;
  font-weight: 800;
}

.contact-channel-copy p {
  margin: 5px 0 3px;
  color: #9aa8ba;
  font-size: clamp(12px, .92vw, 14px);
}

.contact-channel-copy > a {
  display: none;
}

.contact-channel-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

body[data-route="contact"] .contact-copy {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(118, 151, 193, .36);
  border-radius: 5px;
  color: #a9b8ca;
  background: rgba(6, 16, 29, .28);
  cursor: pointer;
}

body[data-route="contact"] .contact-copy:hover {
  border-color: var(--contact-gold);
  color: #f3cf78;
}

.contact-channel-primary {
  min-width: 106px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  border: 1px solid #f2ce75;
  border-radius: 5px;
  color: #111720;
  background: linear-gradient(135deg, #f6d67f, #d39b32);
  box-shadow: 0 5px 18px rgba(206, 148, 41, .19);
  font-weight: 900;
}

.contact-channel-actions > span {
  color: #e7b84e;
  font-size: 29px;
  line-height: 1;
}

.contact-preflight {
  position: relative;
  margin-top: 14px;
  padding: 18px 21px 16px;
  border: 1px solid rgba(233, 185, 78, .55);
  border-radius: 8px;
  background: linear-gradient(105deg, rgba(8, 23, 40, .62), rgba(5, 15, 28, .38));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.contact-preflight h3,
.contact-aside-panel h3 {
  margin: 0;
  color: #e6eaf1;
  font-size: 16px;
}

.contact-preflight > p {
  margin: 6px 0 14px;
  color: #95a4b8;
  font-size: 12px;
}

.contact-preflight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
}

.contact-preflight-item {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 9px;
  border-right: 1px solid rgba(102, 130, 167, .18);
}

.contact-preflight-item:last-child {
  border-right: 0;
}

.contact-preflight-item > i,
.contact-support-time > i {
  width: 37px;
  height: 37px;
  flex: 0 0 37px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(232, 183, 75, .38);
  border-radius: 50%;
  color: #e8b94e;
  background: rgba(10, 27, 46, .42);
  font-style: normal;
}

.contact-preflight-item p,
.contact-support-time p {
  min-width: 0;
  margin: 0;
}

.contact-preflight-item strong,
.contact-preflight-item span,
.contact-support-time strong,
.contact-support-time span {
  display: block;
}

.contact-preflight-item strong {
  font-size: 12px;
}

.contact-preflight-item span,
.contact-support-time span {
  margin-top: 3px;
  color: #8190a4;
  font-size: 10px;
}

.contact-privacy-note {
  margin-top: 8px;
  padding-top: 11px;
  border-top: 1px solid rgba(102, 130, 167, .15);
  color: #7f8da0;
  font-size: 10px;
}

.contact-showcase-aside {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(232, 182, 72, .52);
  border-radius: 10px;
  background: linear-gradient(155deg, rgba(6, 18, 34, .62), rgba(4, 13, 25, .42));
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.contact-aside-panel {
  padding: 15px 16px;
  border: 1px solid rgba(108, 139, 180, .25);
  border-radius: 8px;
  background: rgba(7, 19, 34, .45);
}

.contact-mail-panel {
  border-color: rgba(232, 182, 72, .42);
}

.contact-bound-email {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 12px;
}

.contact-bound-email > i {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #e9b94d;
  background: rgba(224, 172, 58, .13);
  font-style: normal;
}

.contact-bound-email strong {
  display: inline-block;
  max-width: 180px;
  overflow: hidden;
  color: #dce4ef;
  font-size: 13px;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: nowrap;
}

.contact-verified,
.contact-unverified {
  margin-left: 8px;
  color: #4fd19b;
  font-size: 10px;
  font-weight: 800;
}

.contact-unverified {
  color: #8796a9;
}

.contact-manage-email {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  margin: 12px 0 0 47px;
  padding: 5px 10px;
  border: 1px solid rgba(60, 118, 185, .44);
  border-radius: 5px;
  color: #9fc2ed;
  background: rgba(10, 31, 54, .38);
  font-size: 11px;
}

.contact-support-time {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 11px;
}

.contact-support-time strong {
  font-size: 12px;
}

.contact-aside-panel ul {
  margin: 11px 0 0;
  padding-left: 17px;
  color: #8f9db0;
  font-size: 11px;
  line-height: 1.9;
}

.contact-aside-panel li::marker {
  color: #deb047;
}

.contact-aside-panel li b {
  color: #dcb353;
}

.contact-security-reminder {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.contact-security-reminder > i {
  color: #efbb4e;
  font-size: 27px;
  font-style: normal;
}

.contact-security-reminder h3 {
  color: #e7b84f;
}

.contact-security-reminder p {
  margin: 7px 0 0;
  color: #8998aa;
  font-size: 11px;
  line-height: 1.65;
}

.market-support-strip {
  display: grid;
  grid-template-columns: auto repeat(3, minmax(0, 1fr)) auto;
  gap: 1px;
  align-items: stretch;
  margin: 0 0 16px;
  border: 1px solid var(--gold-border-light);
  background: var(--gold-border-light);
  overflow: hidden;
}

.market-support-strip > strong,
.market-support-strip > a {
  display: flex;
  align-items: center;
  min-width: 0;
  padding: 9px 12px;
  background: rgba(9, 15, 25, .94);
  font-size: 11px;
}

.market-support-strip > strong {
  color: var(--text-primary);
  white-space: nowrap;
}

.market-support-strip > a {
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  overflow-wrap: anywhere;
}

.market-support-strip > a:hover {
  color: var(--gold-light);
  background: #151f2b;
}

.market-support-strip a span {
  margin-right: 7px;
  color: var(--gold);
  font-family: var(--font-family);
  font-weight: 800;
  white-space: nowrap;
}

.market-support-strip .market-support-more {
  color: var(--gold);
  font-family: var(--font-family);
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .contact-showcase-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(285px, .82fr);
    gap: 18px;
  }
  .contact-preflight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-preflight-item:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 900px) {
  .contact-showcase {
    padding: 18px;
    background-position: 22% center;
  }
  .contact-showcase-layout {
    grid-template-columns: 1fr;
  }
  .contact-showcase-aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .market-support-strip {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .contact-showcase {
    min-height: 100dvh;
    padding: 17px 10px 84px;
    background-position: 18% center;
  }
  .contact-showcase-head {
    margin-bottom: 17px;
  }
  .contact-showcase-head h2 {
    font-size: 28px;
  }
  .contact-channel {
    min-height: 0;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 11px;
    padding: 13px 11px;
  }
  .contact-channel-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 15px;
  }
  .contact-channel-actions {
    grid-column: 1 / -1;
  }
  .contact-channel-primary {
    flex: 1;
  }
  .contact-preflight {
    padding: 16px 12px;
  }
  .contact-preflight-grid,
  .contact-showcase-aside {
    grid-template-columns: 1fr;
  }
  .contact-preflight-item {
    border-right: 0;
    border-bottom: 1px solid rgba(102, 130, 167, .15);
  }
  .contact-preflight-item:last-child {
    border-bottom: 0;
  }
  .contact-showcase-aside {
    display: grid;
    padding: 11px;
  }
  .market-support-strip {
    grid-template-columns: 1fr;
  }
  .market-support-strip > strong {
    display: none;
  }
}
