@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=JetBrains+Mono:wght@400;500&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap");
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}
/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}
/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}
/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}
/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}
/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}
/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}
/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}
/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}
/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}
/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}
/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}
/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}
/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}
/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}
/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}
/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}
/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}
/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}
/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}
/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}
/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}
/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}
/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}
:root {
  color-scheme: dark;
  --background: 222 47% 6%;
  --foreground: 210 40% 98%;
  --card: 222 42% 10%;
  --card-foreground: 210 40% 98%;
  --popover: 222 42% 10%;
  --popover-foreground: 210 40% 98%;
  --primary: 160 84% 39%;
  --primary-foreground: 222 47% 6%;
  --secondary: 222 42% 15%;
  --secondary-foreground: 210 40% 98%;
  --muted: 222 30% 20%;
  --muted-foreground: 215 20% 65%;
  --accent: 38 92% 50%;
  --accent-foreground: 222 47% 6%;
  --destructive: 0 84% 60%;
  --border: 222 30% 18%;
  --input: 222 30% 18%;
  --ring: 160 84% 39%;
  --radius: 0.75rem;
  --navy-900: 222 47% 6%;
  --navy-800: 222 42% 10%;
  --navy-700: 222 38% 15%;
  --navy-600: 222 35% 22%;
  --emerald: 160 84% 39%;
  --emerald-glow: 160 84% 50%;
  --gold: 38 92% 50%;
  --gold-light: 38 92% 65%;
  --gradient-hero: linear-gradient(135deg, hsl(222 47% 6%) 0%, hsl(222 42% 12%) 50%, hsl(222 47% 8%) 100%);
  --gradient-card: linear-gradient(180deg, hsl(222 42% 12%) 0%, hsl(222 42% 8%) 100%);
  --gradient-border: linear-gradient(135deg, hsl(160 84% 39% / 0.4) 0%, hsl(38 92% 50% / 0.4) 100%);
  --shadow-glow-emerald: 0 0 40px hsl(160 84% 39% / 0.2);
  --shadow-glow-gold: 0 0 40px hsl(38 92% 50% / 0.2);
  --shadow-card: 0 4px 24px hsl(222 47% 3% / 0.5);
  --shadow-card-hover: 0 8px 40px hsl(222 47% 3% / 0.7);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: "Plus Jakarta Sans", sans-serif;
  min-height: 100vh;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}
h1,
h2,
h3,
.display-5,
.display-6 {
  font-family: "DM Serif Display", serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font-family: inherit;
}
.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
}
.clickable {
  cursor: pointer;
}
.text-right {
  text-align: right !important;
}
.text-justify {
  text-align: justify !important;
}
.text-break {
  word-break: break-word;
  overflow-wrap: anywhere;
}
.text-muted {
  color: hsl(var(--muted-foreground));
}
.text-danger {
  color: hsl(var(--destructive));
}
.mono-font {
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
}
.app-shell {
  position: relative;
  min-height: 100vh;
  background: var(--gradient-hero);
  overflow: hidden;
}
.embed-shell {
  background: transparent;
  margin: 0;
  padding: 0;
}
.app-container {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.decor-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.decor-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.6;
}
.decor-orb--emerald {
  width: 420px;
  height: 420px;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  background: hsl(var(--emerald) / 0.18);
}
.decor-orb--gold {
  width: 380px;
  height: 380px;
  bottom: -220px;
  right: -120px;
  background: hsl(var(--gold) / 0.16);
}
.decor-square {
  position: absolute;
  border-radius: 18px;
  border: 1px solid hsl(var(--emerald) / 0.4);
  background: hsl(var(--emerald) / 0.12);
}
.decor-square--emerald {
  width: 96px;
  height: 96px;
  top: 120px;
  left: 80px;
}
.decor-dot {
  position: absolute;
  border-radius: 999px;
  border: 1px solid hsl(var(--gold) / 0.5);
  background: hsl(var(--gold) / 0.12);
}
.decor-dot--gold {
  width: 60px;
  height: 60px;
  top: 220px;
  right: 120px;
}
.site-header {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid hsl(var(--border) / 0.6);
  background: hsl(var(--background) / 0.7);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: hsl(var(--foreground));
}
.logo-badge {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid hsl(var(--emerald) / 0.5);
  background: hsl(var(--emerald) / 0.15);
  color: hsl(var(--emerald));
}
.brand-text {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-size: 1.1rem;
}
.brand-subtitle {
  font-size: 0.65rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}
.header-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-wrap: wrap;
}
.search-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  flex: 1;
}
.search-input {
  min-width: 220px;
  flex: 1;
}
.header-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.scope-select {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}
.scope-panel .scope-select {
  max-width: 100%;
}
.scope-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.scope-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-radius: 14px;
  border: 1px solid hsl(var(--border) / 0.6);
  background: hsl(var(--secondary) / 0.35);
  padding: 10px;
}
.scope-pill {
  display: inline-flex;
  align-items: center;
  max-width: 220px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--navy-800));
  color: hsl(var(--foreground));
  font-size: 0.75rem;
  padding: 6px 10px;
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.scope-label {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.scope-pill.is-active {
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
  background: hsl(var(--primary) / 0.12);
}
.scope-empty {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}
.input-hint {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}
.hero {
  padding: 40px 0 24px;
  position: relative;
  z-index: 2;
}
.hero-grid {
  display: grid;
  gap: 32px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid hsl(var(--emerald) / 0.4);
  background: hsl(var(--emerald) / 0.12);
  color: hsl(var(--emerald));
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  margin: 16px 0 12px;
}
.hero-description {
  font-size: 1.05rem;
  max-width: 520px;
}
.main-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 64px;
}
.panel {
  position: relative;
  background: var(--gradient-card);
  border: 1px solid hsl(var(--border));
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.panel:hover {
  box-shadow: var(--shadow-card-hover);
}
.border-gradient {
  background-clip: padding-box;
}
.border-gradient::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--gradient-border);
  pointer-events: none;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.panel-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.panel-title {
  font-size: 1.4rem;
  margin: 0;
}
.panel-title--scoped {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 6px;
  align-items: baseline;
}
.panel-title-scope {
  min-width: 0;
  font-style: italic;
  color: hsl(var(--emerald));
}
.panel-meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: hsl(var(--muted-foreground));
}
.panel-meta-value {
  display: block;
  margin-top: 8px;
  text-transform: none;
  letter-spacing: normal;
  color: hsl(var(--foreground));
}
.panel-note {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}
.panel-subtitle {
  margin-top: 10px;
}
.input-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 6px;
}
.input-field {
  width: 100%;
  border-radius: 14px;
  border: 1px solid hsl(var(--border) / 0.7);
  background: hsl(var(--secondary) / 0.45);
  padding: 10px 12px;
  font-size: 0.9rem;
  color: hsl(var(--foreground));
  transition: border 0.2s ease, box-shadow 0.2s ease;
}
.input-field::placeholder {
  color: hsl(var(--muted-foreground));
}
.input-field:focus {
  outline: none;
  border-color: hsl(var(--primary) / 0.6);
  box-shadow: 0 0 0 2px hsl(var(--primary) / 0.3);
}
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: none;
  box-shadow: var(--shadow-glow-emerald);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px hsl(var(--emerald-glow) / 0.35);
}
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  background: hsl(var(--emerald) / 0.15);
  border: 1px solid hsl(var(--emerald) / 0.45);
  color: hsl(var(--foreground));
  transition: border 0.2s ease, background 0.2s ease;
  box-shadow: 0 0 18px hsl(var(--emerald) / 0.18);
}
.button-secondary:hover {
  border-color: hsl(var(--emerald) / 0.7);
  background: hsl(var(--emerald) / 0.22);
}
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  border: 1px solid transparent;
  transition: color 0.2s ease, border 0.2s ease;
}
.button-ghost:hover {
  color: hsl(var(--foreground));
  border-color: hsl(var(--border));
}
.button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--secondary) / 0.45);
  color: hsl(var(--muted-foreground));
}
.info-grid {
  display: grid;
  gap: 20px;
}
.meta-line {
  margin-top: 16px;
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
}
.status-grid {
  display: grid;
  gap: 16px;
}
.status-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.status-item--full {
  grid-column: 1 / -1;
}
.status-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: hsl(var(--muted-foreground));
}
.status-value {
  font-size: 0.95rem;
  word-break: break-word;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.status-badge--ok {
  background: hsl(var(--emerald) / 0.15);
  color: hsl(var(--emerald));
  border: 1px solid hsl(var(--emerald) / 0.45);
}
.status-badge--alert {
  background: hsl(var(--destructive) / 0.15);
  color: hsl(var(--destructive));
  border: 1px solid hsl(var(--destructive) / 0.45);
}
.status-badge--muted {
  background: hsl(var(--muted) / 0.4);
  color: hsl(var(--muted-foreground));
  border: 1px solid hsl(var(--border));
}
.button-gold {
  border-color: hsl(var(--gold) / 0.7);
  color: hsl(var(--gold));
  background: hsl(var(--gold) / 0.15);
}
.button-gold:hover {
  background: hsl(var(--gold) / 0.25);
}
.block-details {
  margin-top: 8px;
}
.block-details-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.block-details-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid hsl(var(--border) / 0.4);
}
.block-view-navigation {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.block-actions-top {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-left: auto;
}
.block-view-nav-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.block-details-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.block-details-close {
  align-self: flex-start;
  margin-left: auto;
}
.block-title {
  font-size: 2rem;
  margin: 0 0 8px;
}
.hash-value {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
}
.hash-short {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  max-width: 100%;
}
.hash-short-text {
  display: inline-block;
  max-width: 9ch;
  overflow: hidden;
  white-space: nowrap;
  font-family: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
  font-style: normal;
}
.hash-short-ellipsis {
  display: inline-block;
}
.hash-highlight {
  color: hsl(var(--emerald));
  font-weight: 600;
}
.hash-text {
  flex: 1;
  min-width: 0;
}
.hash-status {
  flex: 0 0 auto;
}
.middle-ellipsis {
  display: block;
  max-width: 100%;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.scope-value {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}
.block-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.button-compact {
  padding: 8px 14px;
  font-size: 0.8rem;
}
.json-panel {
  border-radius: 16px;
  border: 1px solid hsl(var(--border) / 0.6);
  background: hsl(var(--navy-900) / 0.85);
  padding: 16px;
  max-height: 320px;
  overflow: auto;
}
.json-content {
  margin: 0;
  font-size: 0.8rem;
  color: hsl(var(--foreground));
  white-space: pre;
}
.block-editor {
  min-height: 200px;
  border-radius: 16px;
  border: 1px solid hsl(var(--border) / 0.6);
  background: hsl(var(--navy-900) / 0.85);
  overflow: hidden;
}
.block-data-plain {
  min-height: 200px;
  max-height: 480px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid hsl(var(--border) / 0.6);
  background: hsl(var(--navy-900) / 0.85);
  white-space: pre-wrap;
  word-break: break-word;
  overflow: auto;
  margin: 0;
}
.block-editor .ace_content {
  height: 100% !important;
}
.block-list .panel-header {
  gap: 16px;
}
.block-list--embed {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.block-list--embed::before {
  content: none;
}
.block-list-header {
  align-items: flex-start;
}
.block-list-top-load {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}
.block-list-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.block-list-empty {
  padding: 24px 0;
  text-align: center;
  color: hsl(var(--muted-foreground));
  font-size: 0.95rem;
}
.block-list-count {
  font-size: 0.85rem;
  color: hsl(var(--muted-foreground));
}
.block-view-banner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.table-wrapper {
  overflow-x: auto;
}
.blocks-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.blocks-table thead th {
  text-align: left;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  padding: 12px 10px;
  border-bottom: 1px solid hsl(var(--border));
}
.blocks-table thead th:nth-child(1),
.blocks-table tbody th:nth-child(1) {
  width: 10px;
}
.blocks-table thead th:nth-child(2),
.blocks-table tbody td:nth-child(2) {
  width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.blocks-table thead th:nth-child(3),
.blocks-table tbody td:nth-child(3) {
  width: auto;
}
.blocks-table tbody tr {
  transition: background 0.2s ease;
}
.blocks-table tbody tr:hover {
  background: hsl(var(--secondary) / 0.5);
}
.blocks-table tbody th,
.blocks-table tbody td {
  padding: 12px 10px;
  border-bottom: 1px solid hsl(var(--border));
}
.blocks-table tbody tr.is-selected>th,
.blocks-table tbody tr.is-selected>td {
  background: hsl(var(--primary) / 0.12);
}
.blocks-table tbody tr.is-selected>th:first-child,
.blocks-table tbody tr.is-selected>td:first-child {
  box-shadow: inset 3px 0 0 hsl(var(--primary));
}
.blocks-table tbody tr.is-new {
  animation: new-block-row 6.5s ease-out;
}
.table-link {
  background: none;
  border: none;
  color: hsl(var(--foreground));
  font: inherit;
  padding: 0;
  cursor: pointer;
}
.table-link.hash-link {
  display: block;
  width: 100%;
  text-align: left;
}
.table-link:hover {
  color: hsl(var(--primary));
}
.by-cell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.by-name {
  font-weight: 600;
}
.verification-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
  background: hsl(var(--muted) / 0.35);
}
.verification-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}
.verification-chip.is-ok {
  color: hsl(var(--emerald));
  border-color: hsl(var(--emerald) / 0.5);
  background: hsl(var(--emerald) / 0.15);
}
.verification-chip.is-bad {
  color: hsl(var(--destructive));
  border-color: hsl(var(--destructive) / 0.5);
  background: hsl(var(--destructive) / 0.15);
}
.verification-chip.is-unknown {
  color: hsl(var(--muted-foreground));
  border-color: hsl(var(--border));
  background: hsl(var(--muted) / 0.3);
}
.verification-chip.is-error {
  color: hsl(var(--destructive));
  border-color: hsl(var(--destructive) / 0.6);
  background: hsl(var(--destructive) / 0.12);
}
.verification-chip.is-smart {
  color: hsl(var(--gold));
  border-color: hsl(var(--gold) / 0.6);
  background: hsl(var(--gold) / 0.12);
}
.verification-chip.is-txt {
  color: hsl(var(--muted-foreground));
  border-color: hsl(var(--muted-foreground) / 0.5);
  background: hsl(var(--muted) / 0.3);
}
.verification-chip.is-done {
  color: hsl(var(--emerald));
  border-color: hsl(var(--emerald) / 0.6);
  background: hsl(var(--emerald) / 0.12);
}
.verification-chip.is-last {
  color: hsl(var(--gold));
  border-color: hsl(var(--gold) / 0.7);
  background: hsl(var(--gold) / 0.15);
}
.block-preview {
  color: hsl(var(--muted-foreground));
  font-size: 0.85rem;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.content-cell {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.content-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}
.content-date-text {
  white-space: nowrap;
}
.content-date-chips {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.signature-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}
.signature-by {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}
.inline-chip {
  margin-left: 10px;
  padding: 2px 8px !important;
  font-size: 0.65rem;
}
.hash-actions {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.block-subchain-button {
  font-size: 0.75rem;
}
.block-details-header {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.block-title-area {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.block-title-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.block-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.block-title {
  margin: 0;
  font-size: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  min-width: 0;
}
.block-hash-text {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  cursor: pointer;
}
.block-title-hash {
  max-width: clamp(220px, 45vw, 420px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  cursor: pointer;
}
.block-hash-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.block-title-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.block-height-label {
  font-weight: 600;
  letter-spacing: 0.15em;
}
.block-byline {
  color: hsl(var(--muted-foreground));
}
.block-scope-hint {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}
.block-scope-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.block-scope-text {
  font-size: 0.95rem;
  color: hsl(var(--foreground));
}
.block-scope-inline {
  font-size: 0.75rem;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
  letter-spacing: 0.1em;
}
.block-info-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.85rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
}
.block-hash-emphasis {
  display: inline-block;
  font-size: 1.1em;
  font-weight: 600;
  color: hsl(var(--foreground));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  vertical-align: bottom;
}
.block-hash-inline {
  display: inline;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
  word-break: break-all;
}
.block-header-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 4px;
}
.block-header-timestamp {
  min-width: 180px;
  text-align: left;
  font-size: 0.85rem;
  color: hsl(var(--muted-foreground));
  word-break: keep-all;
}
.block-header-label {
  text-align: left;
  font-size: 0.85rem;
  color: hsl(var(--muted-foreground));
  word-break: keep-all;
}
.hash-short {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}
.scope-label {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}
.scope-emphasis {
  color: hsl(var(--emerald));
  font-weight: 600;
}
@media (max-width: 720px) {
  .block-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .block-header-timestamp,
  .block-header-label {
    text-align: left;
    min-width: auto;
  }
}
@keyframes new-block-row {
  0% {
    background: linear-gradient(90deg,
        hsl(var(--emerald) / 0.28) 0%,
        hsl(var(--gold) / 0.22) 55%,
        hsl(var(--emerald) / 0.2) 100%);
    box-shadow: 0 0 0 1px hsl(var(--emerald) / 0.5),
      0 0 24px hsl(var(--emerald) / 0.3);
    border-color: hsl(var(--emerald) / 0.9);
  }

  65% {
    background: linear-gradient(90deg,
        hsl(var(--emerald) / 0.16) 0%,
        hsl(var(--gold) / 0.14) 55%,
        hsl(var(--emerald) / 0.12) 100%);
    box-shadow: 0 0 0 1px hsl(var(--emerald) / 0.25),
      0 0 14px hsl(var(--emerald) / 0.2);
    border-color: hsl(var(--emerald) / 0.6);
  }

  100% {
    background: transparent;
    box-shadow: none;
    border-color: hsl(var(--border));
  }
}
.output-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.block-logs-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.block-logs {
  min-height: 160px;
  max-height: 320px;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid hsl(var(--border) / 0.6);
  background: hsl(var(--navy-900) / 0.85);
  overflow: auto;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.block-log-entry {
  white-space: pre-wrap;
  word-break: break-word;
  color: hsl(var(--foreground));
}
.block-log-entry--error {
  color: hsl(var(--destructive));
}
.block-log-entry--table {
  white-space: pre;
}
.block-data-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.block-section-label {
  font-size: 0.85rem;
  color: hsl(var(--muted-foreground));
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}
.block-verification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.block-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.block-info-grid:empty {
  display: none;
  margin: 0;
}
.block-info-card {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, hsl(var(--secondary) / 0.4) 0%, hsl(var(--secondary) / 0.2) 100%);
  border: 1px solid hsl(var(--border) / 0.5);
  transition: all 0.2s ease;
}
.block-info-card:hover {
  border-color: hsl(var(--primary) / 0.4);
  box-shadow: 0 4px 12px hsl(var(--primary) / 0.1);
}
.block-info-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}
.block-info-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.block-info-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  letter-spacing: 0.02em;
}
.block-info-description {
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
}
.block-info-content .button-gold {
  align-self: flex-start;
  margin-top: 4px;
}
.block-verification-item {
  min-width: 0;
}
.block-signature-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0;
}
.signature-by-value {
  color: hsl(var(--foreground));
  font-weight: 600;
  text-transform: none;
}
.signature-hover-area {
  padding: 12px 14px;
  border-radius: 8px;
  background: hsl(var(--secondary) / 0.3);
  border: 1px solid hsl(var(--border) / 0.4);
  cursor: help;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
}
.signature-hover-area:hover {
  background: hsl(var(--secondary) / 0.5);
  border-color: hsl(var(--primary) / 0.4);
  box-shadow: 0 2px 8px hsl(var(--primary) / 0.1);
}
.signature-status {
  font-size: 0.8rem;
  color: hsl(var(--muted-foreground));
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
}
.verification-label {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.output-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  border-radius: 14px;
  border: 1px solid hsl(var(--border) / 0.6);
  background: hsl(var(--secondary) / 0.35);
  padding: 12px;
}
.output-item {
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
  border-radius: 10px;
  background: hsl(var(--navy-800) / 0.5);
  border: 1px solid hsl(var(--border) / 0.3);
  box-shadow: 0 0 10px hsl(var(--navy-900) / 0.45);
}
.output-key {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}
.output-link {
  color: hsl(var(--gold));
  text-decoration: none;
}
.output-link:hover {
  text-decoration: underline;
}
.output-value {
  font-size: 0.85rem;
  color: hsl(var(--foreground));
  word-break: break-word;
}
.alert-panel {
  border-radius: 20px;
  padding: 16px 20px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--secondary) / 0.6);
}
.alert-panel--danger {
  border-color: hsl(var(--destructive) / 0.5);
  background: hsl(var(--destructive) / 0.12);
  color: hsl(var(--destructive));
}
/* Block message boxes for results and errors */
.block-message-box {
  margin: 20px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid;
  box-shadow: var(--shadow-card);
}
.block-result-box {
  background: linear-gradient(135deg, hsl(160 84% 39% / 0.08) 0%, hsl(160 84% 39% / 0.03) 100%);
  border-color: hsl(160 84% 39% / 0.4);
}
.block-error-box {
  background: linear-gradient(135deg, hsl(0 84% 60% / 0.08) 0%, hsl(0 84% 60% / 0.03) 100%);
  border-color: hsl(0 84% 60% / 0.4);
}
.block-message-header {
  padding: 14px 18px;
  background: hsl(var(--navy-800) / 0.6);
  border-bottom: 1px solid hsl(var(--border) / 0.4);
}
.block-result-box .block-message-header {
  background: hsl(160 84% 39% / 0.12);
  border-bottom-color: hsl(160 84% 39% / 0.2);
}
.block-error-box .block-message-header {
  background: hsl(0 84% 60% / 0.12);
  border-bottom-color: hsl(0 84% 60% / 0.2);
  color: hsl(0 84% 70%);
}
.block-message-header strong {
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}
.block-message-content {
  padding: 16px 18px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  word-break: break-word;
}
.block-result-box .block-message-content {
  color: hsl(160 84% 75%);
}
.block-error-box .block-message-content {
  color: hsl(0 84% 75%);
}
/* Block header refinements */
.block-meta {
  margin-top: 8px;
  display: flex;
  min-width: 0;
  max-width: 100%;
}
.block-height-scope {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  color: hsl(var(--muted-foreground));
  letter-spacing: 0.02em;
  min-width: 0;
  max-width: 100%;
}
.block-scope-actions {
  margin-top: 12px;
}
/* Mobile responsive adjustments */
@media (max-width: 720px) {
  .block-title {
    font-size: 1.2rem;
  }

  .block-hash-text {
    font-size: 0.95rem;
  }

  .block-header-timestamp {
    font-size: 0.8rem;
    min-width: auto;
  }

  .block-message-header {
    padding: 12px 14px;
  }

  .block-message-header strong {
    font-size: 0.85rem;
  }

  .block-message-content {
    padding: 14px;
    font-size: 0.85rem;
  }

  .block-details-header {
    gap: 16px;
  }

  .block-title-area {
    min-width: 100%;
  }
}
@media (max-width: 480px) {
  .block-title {
    font-size: 1rem;
  }

  .block-hash-text {
    font-size: 0.85rem;
  }

  .block-message-header strong {
    font-size: 0.8rem;
  }

  .block-message-content {
    font-size: 0.8rem;
  }
}
.accordion {
  margin-top: 12px;
}
.accordion-item {
  background: hsl(var(--secondary) / 0.45);
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 12px;
}
.accordion-button {
  background: transparent;
  color: hsl(var(--foreground));
  font-weight: 600;
  letter-spacing: 0.02em;
}
.accordion-button:not(.collapsed) {
  background: hsl(var(--secondary) / 0.8);
  color: hsl(var(--foreground));
  box-shadow: none;
}
.accordion-button::after {
  filter: invert(1);
}
.accordion-body {
  color: hsl(var(--muted-foreground));
}
.btn-close {
  filter: invert(1);
  opacity: 0.7;
}
.btn-close:hover {
  opacity: 1;
}
.site-footer {
  border-top: 1px solid hsl(var(--border) / 0.6);
  padding: 32px 0 40px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: hsl(var(--muted-foreground));
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-title {
  color: hsl(var(--foreground));
  font-weight: 600;
}
.footer-meta {
  font-size: 0.85rem;
}
.footer-copy {
  font-size: 0.9rem;
}
@media (min-width: 900px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .header-actions {
    flex-direction: row;
    align-items: center;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .block-view-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .block-list-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .block-list-controls {
    align-items: flex-end;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
@media screen and (max-width: 1100px) {
  .blocks-table thead {
    display: none;
  }

  .blocks-table tr {
    display: block;
    border: 1px solid hsl(var(--border));
    border-radius: 18px;
    padding: 12px 16px;
    margin-bottom: 16px;
    background: hsl(var(--secondary) / 0.45);
  }

  .blocks-table tr.is-selected {
    border-color: hsl(var(--primary));
    box-shadow: 0 0 0 1px hsl(var(--primary) / 0.4);
  }

  .blocks-table tbody th,
  .blocks-table tbody td {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px;
    padding: 8px 0;
    border: none;
  }

  .blocks-table tbody th::before {
    content: "#";
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: hsl(var(--muted-foreground));
  }

  .blocks-table tbody td::before {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: hsl(var(--muted-foreground));
  }

  .blocks-table tbody td:nth-of-type(1)::before {
    content: "Entity";
  }

  .blocks-table tbody td:nth-of-type(2)::before {
    content: "Hash";
  }

  .blocks-table tbody td:nth-of-type(3)::before {
    content: "Details";
  }

  .block-preview {
    max-width: none;
    white-space: normal;
  }
}
@media (prefers-reduced-motion: reduce) {
  .blocks-table tbody tr.is-new {
    animation-duration: 0.01s;
  }
}
@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}
@keyframes pulse-glow {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}
@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.animate-float {
  animation: float 6s ease-in-out infinite;
}
.animate-pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}
.animate-slide-up {
  animation: slide-up 0.6s ease-out forwards;
}
