/* Keep the header aligned on pages with and without a vertical scrollbar. */
html { scrollbar-gutter: stable; }
@supports not (scrollbar-gutter: stable) {
  html { overflow-y: scroll; }
}

.dnsly-ip-section { min-width: 0; }
.dnsly-ip-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 64rem;
  min-width: 0;
}
#ip-address {
  min-width: 0;
  max-width: 100%;
  font-size: clamp(1rem, 7vw, 3rem);
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.dnsly-ip-copy { flex: 0 0 auto; }
.dnsly-ip-hostname { max-width: 100%; overflow-wrap: anywhere; }

/* Shared navigation and the first redesigned tool. */
.dnsly-site { color: #172238; background: #f7f9fc; font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
.dnsly-site [hidden] { display: none !important; }
.dnsly-site :is(a,button,summary):focus-visible { outline: 3px solid #93b4fa; outline-offset: 4px; }
.site-header { position: relative; z-index: 40; background: #fff; border-bottom: 1px solid #e5eaf2; }
.site-header-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.site-brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 10px; color: #192641; font-size: 23px; font-weight: 750; letter-spacing: -.8px; text-decoration: none; }
.brand-suffix { color: #71809a; font-weight: 450; }
.brand-symbol { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #edf3ff; color: #245ddd; }
.brand-symbol svg { width: 21px; height: 21px; }
.desktop-navigation { display: flex; align-items: center; gap: 14px; }
.nav-link { display: inline-flex; align-items: center; justify-content: flex-start; gap: 7px; padding: 10px 13px; border-radius: 9px; font-size: 14px; line-height: 20px; color: #526078; font-weight: 550; text-decoration: none; white-space: nowrap; transition: color .15s, background .15s; }
.nav-link:hover, .nav-link.is-active { background: #f1f5fd; color: #245ddd; }
.nav-link svg, .account-button > svg { width: 14px; height: 14px; }
.nav-dropdown { position: relative; }
.nav-popover { position: absolute; top: calc(100% + 14px); left: 0; width: 338px; padding: 10px; border-radius: 15px; border: 1px solid #e3e9f2; background: #fff; box-shadow: 0 16px 50px #1d35531a; }
.nav-popover-label { padding: 9px 12px; font-size: 10px; line-height: 16px; font-weight: 700; letter-spacing: 1.2px; color: #66758c; text-transform: uppercase; }
.tool-link { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px; text-decoration: none; color: #24334a; }
.tool-link:hover, .tool-link.is-active { background: #f3f6fc; }
.tool-symbol { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; color: #3664b3; background: #edf3fc; border: 1px solid #e3ebf8; border-radius: 10px; }
.tool-symbol svg { width: 20px; height: 20px; }
.tool-link strong { display: block; font-size: 13px; font-weight: 650; line-height: 20px; }
.tool-link small { display: block; font-size: 11px; line-height: 18px; color: #71809a; }
.ui-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 17px; border-radius: 9px; font-size: 13px; line-height: 20px; font-weight: 650; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.ui-button svg { height: 17px; width: 17px; }
.ui-button-primary { color: #fff; background: #245ddd; border: 1px solid #245ddd; box-shadow: 0 2px 3px #245ddd12; }
.ui-button-primary:hover { background: #194fc3; border-color: #194fc3; }
.ui-button-secondary { background: #fff; border: 1px solid #dce5f3; color: #2956a4; }
.ui-button-secondary:hover { background: #f4f7ff; border-color: #9db5df; }
.account-button { display: flex; align-items: center; gap: 7px; padding: 4px; border-radius: 8px; }
.account-button img, .account-button > span { width: 30px; height: 30px; border-radius: 50%; background: #edf3ff; display: grid; place-items: center; }
.account-popover { right: 0; left: auto; width: 220px; }
.account-popover .nav-link { display: flex; }
.mobile-menu-button { display: none; align-items: center; justify-content: center; height: 42px; width: 42px; border-radius: 9px; color: #33425b; background: #f5f7fb; }
.mobile-menu-button svg { height: 22px; width: 22px; }
.mobile-overlay { position: fixed; inset: 0; z-index: 60; }
.mobile-backdrop { position: absolute; inset: 0; background: #17223859; }
.mobile-panel { position: absolute; top: 12px; right: 12px; width: min(380px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; padding: 16px; background: #fff; border: 1px solid #e3e9f2; border-radius: 19px; box-shadow: 0 20px 60px #10224126; }
.mobile-panel-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px 12px; }
.mobile-panel-heading h2 { font-size: 17px; font-weight: 650; letter-spacing: -.3px; }
.mobile-panel .mobile-menu-button { display: flex; }
.mobile-secondary-links { display: grid; margin: 14px 0; padding-top: 10px; border-top: 1px solid #edf0f5; }
.mobile-access { width: 100%; }
.menu-is-open { overflow: hidden; }
.site-footer { margin-top: 72px; border-top: 1px solid #e4eaf3; background: #fff; }
.site-footer-inner { max-width: 1200px; margin: auto; padding: 34px 24px; display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.footer-brand { color: #233451; font-size: 19px; font-weight: 700; letter-spacing: -.6px; }
.footer-brand span { color: #66758c; font-weight: 450; }
.site-footer p { font-size: 12px; color: #7b879a; margin-top: 6px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 22px; font-size: 12px; color: #66758c; padding-top: 7px; }
.site-footer nav a:hover { color: #245ddd; }
.site-footer-bottom { max-width: 1152px; margin: 0 auto; padding: 16px 0 22px; font-size: 11px; color: #66758c; border-top: 1px solid #eef1f6; }
.myip-page { max-width: 1120px; margin: 0 auto; padding: 36px 8px 0; }
.page-intro { margin-bottom: 28px; }
.eyebrow-link { display: inline-flex; gap: 10px; align-items: center; color: #78869c; font-size: 11px; font-weight: 600; margin-bottom: 12px; }
.eyebrow-link span { color: #b6c1d1; }
.page-intro h1 { font-size: clamp(27px, 4vw, 35px); line-height: 1.25; letter-spacing: -1.1px; font-weight: 700; color: #192841; }
.page-intro p { color: #6b7890; font-size: 14px; margin-top: 9px; line-height: 1.6; }
.myip-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: start; gap: 24px; }
.connection-card { min-width: 0; background: #fff; border: 1px solid #e2e8f2; border-radius: 18px; box-shadow: 0 3px 12px #1c365404; padding: 28px; }
.connection-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 21px; }
.section-label { font-size: 10px; line-height: 17px; font-weight: 700; color: #66758c; text-transform: uppercase; letter-spacing: 1.2px; }
.ip-version { font-size: 10px; font-weight: 650; color: #527095; padding: 3px 8px; background: #f1f5fa; border: 1px solid #e4ebf4; border-radius: 6px; }
.myip-page .dnsly-ip-display { justify-content: flex-start; color: #1d365d; font-weight: 700; letter-spacing: -1px; margin-bottom: 15px; }
.hostname-line { display: flex; flex-direction: column; gap: 5px; overflow-wrap: anywhere; }
.hostname-line > span { color: #66758c; font-size: 11px; }
.hostname-line strong { font-size: 13px; font-weight: 500; color: #5c6d87; }
.ip-actions { display: flex; align-items: center; gap: 13px; margin-top: 21px; min-height: 44px; }
#copyIPStatus { font-size: 11px; color: #526a5b; }
.connection-details { margin-top: 27px; padding-top: 24px; border-top: 1px solid #edf1f6; }
.details-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.details-heading h2 { font-size: 13px; font-weight: 650; color: #33425b; }
#geoStatus { color: #66758c; font-size: 10px; text-align: right; }
.connection-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; margin-top: 23px; }
.connection-facts dt { color: #66758c; font-size: 11px; margin-bottom: 6px; }
.connection-facts dd { font-size: 13px; line-height: 1.5; font-weight: 550; color: #384a64; overflow-wrap: anywhere; }
.location-map { margin-top: 25px; border-top: 1px solid #edf1f6; padding-top: 15px; }
.location-map summary { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 550; color: #54709b; cursor: pointer; list-style: none; min-height: 30px; }
.location-map summary svg { width: 15px; height: 15px; }
.location-map summary > span { margin-left: auto; font-size: 17px; }
.location-map[open] summary > span { transform: rotate(45deg); }
.location-map iframe { width: 100%; height: 230px; margin-top: 12px; border: 0; border-radius: 10px; }
.location-map p { font-size: 11px; color: #66758c; margin-top: 9px; }
.data-source { font-size: 10px; color: #66758c; margin-top: 18px; }
.data-source a:hover { color: #245ddd; }
.myip-aside { display: grid; gap: 20px; }
.info-panel { padding: 23px; background: #fff; border: 1px solid #e2e8f2; border-radius: 16px; }
.aside-icon { display: inline-flex; color: #8294ad; margin-bottom: 10px; }
.aside-icon svg { width: 21px; height: 21px; }
.info-panel h2 { font-size: 14px; font-weight: 650; margin-bottom: 10px; }
.info-panel p { color: #758298; font-size: 12px; line-height: 1.8; margin-top: 9px; }
.text-link { display: inline-flex; align-items: center; gap: 15px; font-size: 12px; font-weight: 600; color: #3565b4; margin-top: 17px; }
.ddns-panel { padding: 23px; border: 1px solid #dce7fb; border-radius: 16px; background: #edf3ff; }
.ddns-panel .section-label { color: #4f6e9b; }
.ddns-panel h2 { margin: 12px 0; font-size: 21px; line-height: 1.35; font-weight: 650; letter-spacing: -.5px; color: #2c4e84; }
.ddns-panel p { font-size: 12px; line-height: 1.8; color: #536b8c; }
.hostname-example { display: flex; align-items: center; gap: 8px; padding: 11px 13px; border: 1px solid #dbe5f7; border-radius: 8px; background: #ffffff80; margin: 18px 0 14px; color: #4b6d9d; font-family: ui-monospace, monospace; font-size: 11px; }
.example-dot { width: 6px; height: 6px; border-radius: 50%; background: #7496d1; }
.ddns-panel .ui-button { width: 100%; }
.small-link { display: block; text-align: center; margin-top: 12px; font-size: 10px; color: #526f99; }
.ip-explainer { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; margin-top: 46px; padding: 38px 0 32px; border-top: 1px solid #e3e9f2; }
.ip-explainer h2 { font-size: 23px; line-height: 1.3; font-weight: 650; letter-spacing: -.6px; margin: 10px 0 16px; }
.ip-explainer p { font-size: 12px; line-height: 1.9; color: #78869c; margin-top: 10px; }
.ip-faq details { border-bottom: 1px solid #e4eaf3; padding: 15px 0; }
.ip-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 12px; font-weight: 550; line-height: 1.6; color: #465a77; cursor: pointer; list-style: none; }
.ip-faq summary span { color: #66758c; font-size: 18px; flex: 0 0 auto; }
.ip-faq details[open] summary span { transform: rotate(45deg); }
.related-tools { display: flex; align-items: center; gap: 23px; padding: 18px 0; border-top: 1px solid #e3e9f2; font-size: 11px; }
.related-tools > span { color: #66758c; }
.related-tools a { color: #54719b; }
.related-tools a span { margin-left: 8px; }
@media (max-width: 899px) {
  .desktop-navigation { display: none; }
  .mobile-menu-button { display: flex; }
  .site-header-inner { height: 68px; padding: 0 20px; }
  .myip-layout { grid-template-columns: minmax(0, 1fr); }
  .myip-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ip-explainer { gap: 30px; }
}
@media (max-width: 599px) {
  .site-header-inner { padding: 0 16px; }
  .site-brand { font-size: 21px; gap: 9px; }
  .brand-symbol { width: 32px; height: 32px; }
  .myip-page { padding: 23px 0 0; }
  .page-intro { margin-bottom: 22px; }
  .connection-card { padding: 22px 18px; border-radius: 15px; }
  .connection-facts { gap: 23px 18px; }
  .connection-facts dd { font-size: 12px; }
  .myip-aside { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ip-explainer { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 30px; padding-top: 26px; }
  .related-tools { gap: 15px; flex-wrap: wrap; }
  .related-tools > span { width: 100%; }
  .site-footer { margin-top: 42px; }
  .site-footer-inner { flex-direction: column; padding: 28px 20px; gap: 20px; }
  .site-footer-bottom { margin: 0 20px; }
}

/* Comfortable reading sizes for labels and secondary information. */
.section-label, .nav-popover-label { font-size: 11px; }
.tool-link small, .hostname-line > span, .connection-facts dt { font-size: 12px; }
.connection-facts dd { font-size: 14px; }
.info-panel p, .ddns-panel p, .ip-explainer p, .ip-faq summary { font-size: 13px; }
.small-link, .data-source, .related-tools, .location-map p { font-size: 12px; }
.ip-version, #geoStatus { font-size: 11px; }
.ip-actions .ui-button { min-width: 128px; }
@media (max-width: 599px) { .connection-facts dd { font-size: 13px; } }

/* Restore the blue IP and keep copying as an icon beside the address. */
.myip-page .dnsly-ip-display { color: #2563eb; align-items: center; gap: 6px; }
.ip-copy-icon { flex: 0 0 44px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; color: #2563eb; background: transparent; }
.ip-copy-icon:hover { background: #eff6ff; }
.ip-copy-icon svg { width: 21px; height: 21px; }
.ip-copy-icon .copied-symbol { display: none; }
.ip-copy-icon[data-copy-state="copied"] .copy-symbol { display: none; }
.ip-copy-icon[data-copy-state="copied"] .copied-symbol { display: block; }
.copy-announcement { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 599px) {
 .myip-page { padding-top: 12px; }
 .page-intro { margin-bottom: 16px; }
 .eyebrow-link { margin-bottom: 7px; }
 .page-intro p { margin-top: 6px; font-size: 13px; }
 .connection-card { padding: 17px 16px; }
 .connection-card-heading { margin-bottom: 12px; }
 .myip-page .dnsly-ip-display { margin-bottom: 10px; }
 .hostname-line { gap: 3px; }
 .connection-details { margin-top: 17px; padding-top: 17px; }
 .connection-facts { margin-top: 17px; gap: 17px 16px; }
 .connection-facts dt { margin-bottom: 4px; }
 .location-map { margin-top: 17px; padding-top: 10px; }
 .data-source { margin-top: 12px; }
 .myip-layout { gap: 16px; }
 .info-panel, .ddns-panel { padding: 18px; }
 .aside-icon { margin-bottom: 6px; }
 .info-panel h2 { margin-bottom: 7px; }
 .info-panel p { margin-top: 6px; }
 .ip-explainer { margin-top: 24px; padding-top: 20px; }
}
