.MuiStack-root.watermark {
  display: none;
}

.watermark {
  display: none !important;
}

#header {
  padding-right: 60px;
}

.search-modal-wrapper {
  --custom-color-primary: #0eb2f2;
  --custom-color-danger: #fb6550;
  --custom-color-danger-alpha-50: rgba(251, 101, 80, .5);
  --custom-color-danger-alpha-08: rgba(251, 101, 80, .08);
  --custom-color-cta-bg: #3f3f46;
  --custom-color-cta-bg--hover: #34343d;
  --custom-color-cta-bg--active: #23232a;
  --custom-color-bg: #fafafa;
  --custom-color-bg-secondary: #fff;
  --custom-color-bg-gray: rgba(0,0,0,.02);
  --custom-color-stroke: #d1d5db;
  --custom-color-stroke--hover: #b6bbc2;
  --custom-color-stroke--active: var(--custom-color-primary);
  --custom-color-text: #111827;
  --custom-color-text-secondary: #8f8f8f;
  --custom-color-shadow: rgba(0,0,0,0.06);
  --custom-size-side-padding: 2rem;
  --custom-size-container-width: 56rem;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  color: var(--custom-color-text);
}
.search-modal-wrapper * {
  box-sizing: border-box;
}
.search-modal-wrapper .hidden {
  display: none !important;
}
html.dark .search-modal-wrapper {
  --custom-color-primary: #0eb2f2;
  --custom-color-cta-bg: #3f3f46;
  --custom-color-cta-bg--hover: #34343d;
  --custom-color-cta-bg--active: #2c2c36;
  --custom-color-bg: #303030;
  --custom-color-bg-secondary: #212121;
  --custom-color-bg-gray: rgba(0,0,0,.08);
  --custom-color-stroke: #4e4e4e;
  --custom-color-stroke--hover: #637082;
  --custom-color-stroke--active: var(--custom-color-primary);
  --custom-color-text: #fff;
  --custom-color-text-secondary: #adadad;
  --custom-color-shadow: rgba(0,0,0,0.15);
}
.search-modal-trigger {
  cursor: pointer;
  position: fixed;
  top: 0.75rem;
  right: 0;
  padding: 0.5rem 0.75rem;
  background-color: var(--custom-color-cta-bg);
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
  transition: all 0.2s;
}
.search-modal-trigger:hover {
  background-color: var(--custom-color-cta-bg--hover);
}
.search-modal-trigger:active {
  background-color: var(--custom-color-cta-bg--active);
}
.search-modal {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1300;
  width: 100%;
  height: 100dvh;
  padding-top: 3rem;
  background-color: var(--custom-color-bg);
  overflow: hidden;
}
.search-modal-close-btn {
  cursor: pointer;
  position: absolute;
  top: .7rem;
  right: .2rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 1.875rem;
  line-height: 1;
  border-radius: 50%;
  transition: all 0.2s;
}
.search-modal-close-btn svg path {
  stroke: var(--custom-color-text);
}
.search-modal-close-btn:hover {
  background-color: rgba(0,0,0,0.2);
}
.search-modal-close-btn:active {
  background-color: rgba(0,0,0,0.3);
}
.search-modal-form {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 var(--custom-size-side-padding);
}
.search-modal-input {
  width: 100%;
  max-width: var(--custom-size-container-width);
  padding: 1rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  color: var(--custom-color-text);
  background-color: var(--custom-color-bg-secondary);
  border: 1px solid var(--custom-color-stroke);
  /* border-radius: 999px; */
  border-radius: 8px;
  -webkit-appearance: none;
  box-shadow: 0 2px 12px 2px var(--custom-color-shadow);
  transition: all 0.2s;
}
.search-modal-input:hover,
.search-modal-input:active,
.search-modal-input:focus,
.search-modal-input:visited {
  outline: none;
}
.search-modal-input::placeholder {
  opacity: 0.5;
}
.search-modal-input:hover {
  border-color: var(--custom-color-stroke--hover);
}
.search-modal-input:focus {
  border-color: var(--custom-color-stroke--active);
}

.search-modal-results-wrap {
  flex: 1;
  width: 100%;
  padding: 0 var(--custom-size-side-padding) 2rem;
  overflow: auto;
}

.search-modal-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: var(--custom-size-container-width);
  margin: 0 auto;
}
.search-modal-result-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  padding: 1.5rem;
  background-color: var(--custom-color-bg-secondary);
  border-radius: 8px;
  border: 1px solid var(--custom-color-stroke);
  box-shadow: 0 2px 12px 2px var(--custom-color-shadow);
}
.search-modal-result-item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}
.search-modal-result-item-type {
  flex-shrink: 0;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--custom-color-primary);
  background-color: rgba(14, 178, 242, 0.1);
  border: 1px solid rgba(14, 178, 242, 0.2);
  border-radius: 4px;
  white-space: nowrap;
}
html.dark .search-modal-result-item-type {
  background-color: rgba(14, 178, 242, 0.15);
  border-color: rgba(14, 178, 242, 0.3);
}
.search-modal-result-item-details {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--custom-color-text-secondary);
  white-space: pre-line;
  word-wrap: break-word;
}
.search-modal-result-item-title {
  margin: 0;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  transition: color 0.2s;
}
.search-modal-result-item-title:hover {
  color: var(--custom-color-primary);
}
.search-modal-result-item-title a {
  color: inherit;
  text-decoration: none;
}
.search-modal-result-item-title a:hover,
.search-modal-result-item-title a:active,
.search-modal-result-item-title a:focus,
.search-modal-result-item-title a:visited {
  text-decoration: none;
  outline: none;
}
.search-modal-result-item-section pre {
  margin: 0;
  font-size: 1em;
  font-feature-settings: normal;
  font-variation-settings: normal;
}
.search-modal-result-item-section p {
  margin: 0;
}
.search-modal-result-item-section-label {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--custom-color-text-secondary);
}
.search-modal-result-item-section-string {
  font-size: .875rem;
  line-height: 1.5;
}
.search-modal-result-item-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #fff;
  background-color: var(--custom-color-cta-bg);
  border-radius: 8px;
  transition: all 0.2s;
  text-decoration: none;
}
.search-modal-result-item-btn:hover,
.search-modal-result-item-btn:active,
.search-modal-result-item-btn:focus,
.search-modal-result-item-btn:visited {
  text-decoration: none;
  outline: none;
}
.search-modal-result-item-btn:hover {
  background-color: var(--custom-color-cta-bg--hover);
}
.search-modal-result-item-btn:active {
  background-color: var(--custom-color-cta-bg--active);
}
.search-modal-result-item-btn svg {
  flex: none;
  width: 16px;
}

.search-modal-msg {
  width: 100%;
  border-radius: 8px;
  padding: 1.2rem 1rem;
  margin: 0;
}

.search-modal-msg--color-danger {
  background: var(--custom-color-danger-alpha-08);
  border: 1px solid var(--custom-color-danger-alpha-50);
  color: var(--custom-color-danger);
}

.search-modal-msg--color-default {
  background: var(--custom-color-bg-gray);
  border: 1px solid var(--custom-color-stroke);
  color: var(--custom-color-text-secondary);
}
.search-modal-msg--type-loading {
  cursor: wait;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.search-modal-msg--type-loading:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  animation: custom-skeleton-wave 1500ms linear 0.5s infinite;
  background: linear-gradient(90deg, rgba(93,93,93,0), rgba(138,147,166,0.1), rgba(31,66,183,0));
}

/* .search-modal-skeleton {
  cursor: wait;
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 250px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--custom-color-stroke);
  background-color: var(--custom-color-bg-secondary);
} */
/* .search-modal-skeleton:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  animation: custom-skeleton-wave 1500ms linear 0.5s infinite;
  background: linear-gradient(90deg, rgba(93,93,93,0), rgba(138,147,166,0.1), rgba(31,66,183,0));
} */
@-moz-keyframes custom-skeleton-wave {
  0% {
    transform: translate(-100%);
  }
  100% {
    transform: translate(100%);
  }
}
@-webkit-keyframes custom-skeleton-wave {
  0% {
    transform: translate(-100%);
  }
  100% {
    transform: translate(100%);
  }
}
@-o-keyframes custom-skeleton-wave {
  0% {
    transform: translate(-100%);
  }
  100% {
    transform: translate(100%);
  }
}
@keyframes custom-skeleton-wave {
  0% {
    transform: translate(-100%);
  }
  100% {
    transform: translate(100%);
  }
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .search-modal-result-item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .search-modal-result-item-type {
    align-self: flex-start;
  }
  
  .search-modal-result-item-title {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

/* @media (min-width: 480px) {
  .message [id|="message"] > div,
  .message [id|="message"] > div > p {
    width: 140px;
  }
} */
