/* TORECANOMICS shared site shell / UI-U1-V3 */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,.085);
  background: rgba(4,10,16,.84);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
  backdrop-filter: blur(20px) saturate(135%);
}

.site-header .header-inner {
  width: min(1320px, calc(100% - 48px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-header .brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #f6f7f8;
  text-decoration: none;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans JP",
    "Hiragino Kaku Gothic ProN",
    Meiryo,
    sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .09em;
  transition: opacity .18s ease, transform .18s ease;
}

.site-header .brand:hover {
  opacity: .88;
}

.site-header .brand:active {
  transform: translateY(1px);
}

.site-header .brand-logo {
  width: 39px;
  height: 39px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.site-header .brand-text {
  white-space: nowrap;
}

.site-header .mode-pill {
  flex: 0 0 auto;
  padding: 8px 13px;
  border: 1px solid rgba(117,200,222,.27);
  border-radius: 999px;
  background: rgba(117,200,222,.09);
  color: #75c8de;
  text-decoration: none;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Noto Sans JP",
    sans-serif;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .04em;
  transition:
    border-color .18s ease,
    background .18s ease,
    color .18s ease;
}

.site-header .mode-pill:hover {
  border-color: rgba(117,200,222,.48);
  background: rgba(117,200,222,.14);
  color: #a4e3f2;
}

.site-header .brand:focus-visible,
.site-header .mode-pill:focus-visible {
  outline: 2px solid rgba(117,200,222,.72);
  outline-offset: 3px;
}

@media (min-width: 1100px) {
  .site-header .brand {
    gap: 13px;
    font-size: 17px;
  }

  .site-header .brand-logo {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 640px) {
  .site-header .header-inner {
    width: min(100% - 24px, 1320px);
    min-height: 62px;
    gap: 10px;
  }

  .site-header .brand {
    gap: 9px;
    font-size: 12px;
    letter-spacing: .065em;
  }

  .site-header .brand-logo {
    width: 35px;
    height: 35px;
  }

  .site-header .mode-pill {
    padding: 7px 10px;
    font-size: 10px;
  }
}

@media (max-width: 390px) {
  .site-header .header-inner {
    width: calc(100% - 18px);
  }

  .site-header .brand {
    gap: 8px;
    font-size: 11px;
  }

  .site-header .brand-logo {
    width: 32px;
    height: 32px;
  }

  .site-header .mode-pill {
    padding: 6px 8px;
    font-size: 9px;
  }
}


/* =========================================================
 * TORECANOMICS_P88A_SHARED_TRUST_FOOTER_20260912
 * Shared public trust / disclosure footer.
 * ========================================================= */

.tn-trust-footer {
  width: 100%;
  border-top: 1px solid rgba(255,255,255,.085);
  background:
    linear-gradient(
      180deg,
      rgba(5,14,20,.96),
      rgba(3,9,14,.99)
    );
  color: #aebdc6;
}

.tn-trust-footer-inner {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 26px;
}

.tn-trust-footer-primary {
  max-width: 720px;
}

.tn-trust-footer-brand {
  display: inline-flex;
  color: #f0ca68;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .10em;
}

.tn-trust-footer-copy {
  margin: 10px 0 0;
  color: #a9b8c1;
  font-size: 12px;
  line-height: 1.7;
}

.tn-trust-footer-ad {
  margin: 7px 0 0;
  color: #7f929d;
  font-size: 10.5px;
  line-height: 1.6;
}

.tn-trust-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin-top: 20px;
}

.tn-trust-footer-links a {
  color: #b6c5cd;
  text-decoration: none;
  font-size: 11.5px;
  font-weight: 700;
  transition: color .16s ease;
}

.tn-trust-footer-links a:hover {
  color: #9be7f5;
}

.tn-trust-footer-brand:focus-visible,
.tn-trust-footer-links a:focus-visible {
  outline: 2px solid rgba(117,200,222,.72);
  outline-offset: 3px;
}

.tn-trust-footer-bottom {
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid rgba(255,255,255,.065);
  color: #657985;
  font-size: 10.5px;
}

@media (max-width: 640px) {
  .tn-trust-footer-inner {
    width: calc(100% - 24px);
    padding: 25px 0 23px;
  }

  .tn-trust-footer-brand {
    font-size: 13px;
  }

  .tn-trust-footer-copy {
    font-size: 11px;
  }

  .tn-trust-footer-links {
    gap: 10px 17px;
    margin-top: 18px;
  }

  .tn-trust-footer-links a {
    font-size: 11px;
  }
}
