:root {
  --rnt-blue: #2f8cff;
  --rnt-blue-soft: rgba(47, 140, 255, 0.28);
  --rnt-purple: #38226f;
  --rnt-gold: #d7a441;
  --rnt-green: #19c875;
  --rnt-ink: #f4f7ff;
  --rnt-muted: rgba(244, 247, 255, 0.72);
  --rnt-panel: rgba(6, 8, 18, 0.76);
  --rnt-panel-strong: rgba(4, 6, 14, 0.9);
  --rnt-border: rgba(167, 189, 255, 0.2);
  --rnt-radius: 8px;
  --rnt-bg-wide: url("../../../assets/images/bg-robbie-buybot-nft-tracker-wide.png?v=20260519-bg2");
  --rnt-bg-portrait: url("../../../assets/images/bg-robbie-buybot-nft-tracker-portrait.png?v=20260519-bg2");
  --rnt-bg-position: center;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-width: 320px;
  color: var(--rnt-ink);
  font-family: "Golos Text", Arial, sans-serif;
  background: #05070d;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.rnt-home-link {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 30;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #ffffff;
  text-decoration: none;
  background: rgba(4, 6, 14, 0.74);
  border: 1px solid rgba(167, 189, 255, 0.28);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.rnt-home-link:hover,
.rnt-home-link:focus-visible {
  color: #ffffff;
  background: rgba(47, 140, 255, 0.2);
  border-color: rgba(47, 140, 255, 0.72);
  outline: none;
  transform: translateY(-1px);
}

.rnt-home-link svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.rnt-status-notice {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 70;
  max-width: min(560px, calc(100vw - 104px));
  padding: 10px 14px;
  overflow: hidden;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  background: rgba(4, 6, 14, 0.76);
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.36);
  transform: translate(-50%, -10px);
  backdrop-filter: blur(14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.rnt-status-notice.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.rnt-status-notice.is-danger {
  background: rgba(255, 79, 108, 0.16);
  border-color: rgba(255, 79, 108, 0.54);
}

.rnt-status-notice.is-success {
  background: rgba(25, 200, 117, 0.16);
  border-color: rgba(25, 200, 117, 0.56);
}

.rnt-copyright {
  margin-top: 18px;
  padding: 12px 0 0;
  color: rgba(244, 247, 255, 0.58);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.rnt-page {
  min-height: 100vh;
}

.rnt-hero {
  position: relative;
  min-height: 100vh;
  padding: 34px 18px;
  isolation: isolate;
}

.rnt-hero::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(90deg, rgba(2, 4, 12, 0.9), rgba(21, 13, 42, 0.65) 46%, rgba(4, 5, 12, 0.76)),
    var(--rnt-bg-wide),
    url("../../../assets/images/bg-robbi-wallet-inspector.png");
  background-position: center, var(--rnt-bg-position), center;
  background-repeat: no-repeat;
  background-size: cover, cover, cover;
}

.rnt-hero::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(5, 7, 13, 0.16), rgba(5, 7, 13, 0.68));
  pointer-events: none;
}

.rnt-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.rnt-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 22px;
}

.rnt-kicker {
  margin: 0 0 4px;
  color: var(--rnt-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rnt-head h1 {
  margin: 0;
  color: #ffffff;
  font-family: "Dela Gothic One", Impact, sans-serif;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 8px 36px rgba(0, 0, 0, 0.42);
}

.rnt-scope {
  max-width: min(48vw, 420px);
  padding: 8px 12px;
  overflow: hidden;
  color: rgba(244, 247, 255, 0.84);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: rgba(4, 6, 14, 0.7);
  border: 1px solid var(--rnt-border);
  border-radius: 999px;
}

.rnt-auth,
.rnt-lock,
.rnt-panel {
  background: var(--rnt-panel);
  border: 1px solid var(--rnt-border);
  border-radius: var(--rnt-radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

.rnt-lock[hidden],
.rnt-panel[hidden] {
  display: none;
}

.rnt-auth {
  width: min(520px, 100%);
  margin: 0 0 16px;
  padding: 18px;
}

.rnt-lock {
  width: min(620px, 100%);
  padding: 22px;
}

.rnt-lock-kicker {
  margin: 0 0 8px;
  color: var(--rnt-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rnt-lock h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.1;
}

.rnt-lock p {
  max-width: 54ch;
  margin: 0;
  color: var(--rnt-muted);
  line-height: 1.5;
}

.rnt-auth-row,
.rnt-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rnt-auth-row {
  margin-top: 8px;
}

.rnt-panel {
  padding: 18px;
}

.rnt-toolbar {
  flex-wrap: wrap;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(167, 189, 255, 0.16);
}

.rnt-target {
  display: grid;
  grid-template-columns: auto minmax(220px, 320px);
  align-items: center;
  gap: 10px;
  min-width: min(100%, 560px);
  color: var(--rnt-muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.rnt-target-picker {
  position: relative;
  display: block;
  min-width: 0;
}

.rnt-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
  padding: 18px 0 0;
}

.rnt-config-block {
  min-width: 0;
}

.rnt-label {
  display: block;
  margin: 0 0 8px;
  color: var(--rnt-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.rnt-input {
  width: 100%;
  height: 42px;
  min-width: 0;
  padding: 0 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  outline: none;
}

.rnt-input::placeholder {
  color: rgba(244, 247, 255, 0.5);
}

.rnt-input:focus {
  border-color: rgba(47, 140, 255, 0.82);
  box-shadow: 0 0 0 3px rgba(47, 140, 255, 0.2);
}

.rnt-btn,
.rnt-toggle {
  min-height: 42px;
  padding: 0 16px;
  color: #ffffff;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.rnt-btn:hover,
.rnt-toggle:hover {
  transform: translateY(-1px);
}

.rnt-btn-primary {
  background: linear-gradient(180deg, #386bb7, #2e4f8f);
  border-color: rgba(131, 180, 255, 0.6);
}

.rnt-btn-primary:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.rnt-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(169, 45, 76, 0.5);
}

.rnt-toggle span {
  width: 12px;
  height: 12px;
  background: #ff5b78;
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(255, 91, 120, 0.4);
}

.rnt-toggle.is-on {
  background: rgba(25, 200, 117, 0.28);
  border-color: rgba(132, 255, 193, 0.6);
}

.rnt-toggle.is-on span {
  background: var(--rnt-green);
  box-shadow: 0 0 18px rgba(25, 200, 117, 0.5);
}

.rnt-search {
  position: relative;
}

.rnt-results {
  position: absolute;
  inset: calc(100% + 6px) 0 auto;
  z-index: 5;
  max-height: 384px;
  overflow: auto;
  background: var(--rnt-panel-strong);
  border: 1px solid rgba(167, 189, 255, 0.25);
  border-radius: var(--rnt-radius);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

.rnt-result {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  padding: 10px;
  color: #ffffff;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rnt-result:hover,
.rnt-result:focus {
  background: rgba(47, 140, 255, 0.16);
  outline: none;
}

.rnt-target-results {
  max-height: 280px;
}

.rnt-target-option {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 11px 12px;
  color: #ffffff;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rnt-target-option:hover,
.rnt-target-option:focus,
.rnt-target-option.is-selected {
  background: rgba(47, 140, 255, 0.16);
  outline: none;
}

.rnt-target-option span {
  overflow: hidden;
  font-size: 14px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: none;
}

.rnt-target-option small,
.rnt-target-empty {
  color: var(--rnt-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: none;
}

.rnt-target-empty {
  padding: 12px;
}

.rnt-result img,
.rnt-selected-thumb {
  width: 48px;
  height: 48px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
}

.rnt-result-title,
.rnt-selected-title {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-weight: 800;
}

.rnt-result-title span:first-child,
.rnt-selected-title span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rnt-result small,
.rnt-selected-meta {
  display: block;
  margin-top: 4px;
  overflow: hidden;
  color: var(--rnt-muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rnt-selected-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.rnt-empty {
  min-height: 92px;
  padding: 18px;
  display: grid;
  align-items: center;
  color: rgba(244, 247, 255, 0.58);
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(167, 189, 255, 0.24);
  border-radius: var(--rnt-radius);
}

.rnt-selected {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(167, 189, 255, 0.16);
  border-radius: var(--rnt-radius);
}

.rnt-remove {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: rgba(244, 247, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
}

.rnt-events {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.rnt-event {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 10px 12px;
  color: #ffffff;
  font-weight: 800;
  text-align: left;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(167, 189, 255, 0.16);
  border-radius: 6px;
}

.rnt-event::after {
  flex: 0 0 auto;
  width: 38px;
  height: 22px;
  content: "";
  background:
    radial-gradient(circle at 11px 50%, #ffffff 0 6px, transparent 7px),
    rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  transition: background 160ms ease;
}

.rnt-event.is-on {
  border-color: rgba(132, 255, 193, 0.44);
  background: rgba(25, 200, 117, 0.14);
}

.rnt-event.is-on::after {
  background:
    radial-gradient(circle at 27px 50%, #ffffff 0 6px, transparent 7px),
    rgba(25, 200, 117, 0.78);
}

.rnt-active-mark,
.rnt-verified-mark,
.rnt-recommended-mark {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
}

.rnt-verified-mark {
  background: var(--rnt-blue);
  border: 1px solid rgba(156, 220, 255, 0.82);
  box-shadow: 0 0 12px rgba(47, 140, 255, 0.35);
}

.rnt-active-mark,
.rnt-recommended-mark {
  background: var(--rnt-green);
  border: 1px solid rgba(132, 255, 193, 0.82);
  box-shadow: 0 0 12px rgba(25, 200, 117, 0.35);
}

.rnt-active-mark::before,
.rnt-verified-mark::before,
.rnt-recommended-mark::before {
  width: 5px;
  height: 8px;
  content: "";
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: translateY(-1px) rotate(45deg);
}

.rnt-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 42px;
  margin-top: 16px;
  padding-top: 14px;
  color: var(--rnt-muted);
  font-size: 13px;
  border-top: 1px solid rgba(167, 189, 255, 0.16);
}

.rnt-check-legend {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

@media (max-width: 1280px) {
  .rnt-hero {
    padding-top: 82px;
  }
}

@media (max-width: 820px) {
  .rnt-home-link {
    top: 12px;
    left: 12px;
    width: 40px;
    height: 40px;
  }

  .rnt-hero {
    padding: 70px 12px 22px;
  }

  .rnt-hero::before {
    background-image:
      linear-gradient(180deg, rgba(2, 4, 12, 0.76), rgba(21, 13, 42, 0.72) 44%, rgba(4, 5, 12, 0.88)),
      var(--rnt-bg-portrait),
      url("../../../assets/images/bg-robbi-wallet-inspector.png");
    background-position: center, var(--rnt-bg-position), center top;
  }

  .rnt-head,
  .rnt-statusbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .rnt-scope {
    max-width: 100%;
  }

  .rnt-toolbar,
  .rnt-auth-row {
    align-items: stretch;
    flex-direction: column;
  }

  .rnt-target {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .rnt-grid {
    grid-template-columns: 1fr;
  }

  .rnt-selected {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 9px;
  }

  .rnt-result img,
  .rnt-selected-thumb {
    width: 42px;
    height: 42px;
  }

  .rnt-check-legend {
    white-space: normal;
  }
}
