*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #E2EDF8;
  --panel:       #FFFFFF;
  --panel-alt:   #F4F8FE;
  --border:      rgba(80, 140, 210, 0.18);
  --shadow:      0 2px 20px rgba(0, 55, 140, 0.07);
  --shadow-nav:  0 8px 32px rgba(0, 55, 140, 0.13);
  --accent:      #1055B0;
  --accent-lt:   #3A8CD0;
  --text:        #0B1A2C;
  --text-muted:  #527090;
  --link:        #1055B0;
  --info-bg:     #EAF3FF;
  --info-bdr:    #1A6BC4;
  --warn-bg:     #FFFAEC;
  --warn-bdr:    #B07820;
  --ok:          #1A7A3C;
  --unk:         #9A6010;
  --r:           18px;
  --r-nav:       36px;
  --r-btn:       20px;
}

html { font-size: 15px; scroll-behavior: smooth; }

body {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  padding-top: 78px;
  min-height: 100vh;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; color: #0A3D88; }
.mono { font-family: 'IBM Plex Mono', monospace; font-size: 0.875em; }

/* ── SKELETON LOADING ── */
@keyframes shimmer {
  0%   { transform: translateX(-150%); }
  100% { transform: translateX(150%); }
}
@keyframes skReveal {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}

.panel.sk,
.infobox.sk,
.section-nav.sk,
.notice.sk {
  position: relative;
  overflow: hidden;
  pointer-events: none;
}
.panel.sk > *,
.infobox.sk > *,
.section-nav.sk > *,
.notice.sk > * { visibility: hidden; }

.panel.sk::after,
.infobox.sk::after,
.section-nav.sk::after,
.notice.sk::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #D4E3F0;
  border-radius: inherit;
  z-index: 1;
}
.panel.sk::before,
.infobox.sk::before,
.section-nav.sk::before,
.notice.sk::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 0;
  width: 55%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.52), transparent);
  z-index: 2;
  animation: shimmer 1.15s ease-in-out infinite;
}

.sk-reveal {
  animation: skReveal 0.32s ease both;
}

/* ── FLOATING NAV ── */
.nav-float {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  width: min(calc(100% - 32px), 860px);
  height: 50px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(80, 148, 220, 0.28);
  border-radius: var(--r-nav);
  box-shadow: var(--shadow-nav);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 10px;
}
.nav-left  { display: flex; gap: 2px; }
.nav-right { display: flex; gap: 2px; justify-content: flex-end; }
.nav-brand {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  padding: 0 18px;
  white-space: nowrap;
  cursor: default;
}
.nav-link {
  font-size: 0.79rem;
  color: var(--text-muted);
  padding: 6px 13px;
  border-radius: var(--r-btn);
  transition: background 0.14s, color 0.14s;
  white-space: nowrap;
  text-decoration: none;
}
.nav-link:hover { background: rgba(16, 85, 176, 0.08); color: var(--accent); text-decoration: none; }
.nav-link.active { background: rgba(16, 85, 176, 0.10); color: var(--accent); font-weight: 500; }

/* ── PAGE LAYOUT ── */
.page-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 20px 72px;
}

/* ── PANEL ── */
.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 24px 28px;
  margin-bottom: 16px;
}
.panel.alt   { background: var(--panel-alt); }
.panel.flush { padding: 0; overflow: hidden; }

/* ── BREADCRUMBS ── */
.breadcrumbs {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.breadcrumbs a { color: var(--link); }
.breadcrumbs .sep { color: rgba(80, 148, 210, 0.45); }

/* ── PAGE HEADER ── */
.page-title { font-size: 1.5rem; font-weight: 600; line-height: 1.2; color: var(--text); margin-bottom: 4px; }
.page-subtitle { font-size: 0.82rem; color: var(--text-muted); }
.section-label { font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--accent-lt); margin-bottom: 6px; }

/* ── ENTRY META ── */
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.entry-meta .dot { color: rgba(80, 148, 210, 0.4); }
.status-ok  { color: var(--ok);  font-weight: 500; }
.status-unk { color: var(--unk); font-weight: 500; }

/* ── INFOBOX ── */
.infobox {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 12px;
}
.infobox-title {
  background: var(--accent);
  color: #fff;
  padding: 9px 14px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
}
.infobox table { width: 100%; border-collapse: collapse; }
.infobox tr { border-bottom: 1px solid var(--border); }
.infobox tr:last-child { border-bottom: none; }
.infobox td { padding: 7px 12px; font-size: 0.76rem; vertical-align: top; }
.infobox td:first-child { font-size: 0.67rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); width: 42%; }

/* ── LEVEL PAGE LAYOUT ── */
.level-layout { display: flex; gap: 16px; align-items: flex-start; }
.level-sidebar { width: 210px; flex-shrink: 0; position: sticky; top: 82px; }
.level-content { flex: 1; min-width: 0; }

/* ── SECTION NAV ── */
.section-nav {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.section-nav-title {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  padding: 11px 14px 9px;
  border-bottom: 1px solid var(--border);
}
.section-nav a {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 8px 14px;
  border-left: 2px solid transparent;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.section-nav a:last-child { border-bottom: none; }
.section-nav a:hover { background: rgba(16, 85, 176, 0.05); color: var(--accent); border-left-color: var(--accent-lt); text-decoration: none; }
.section-nav a.active { background: rgba(16, 85, 176, 0.07); color: var(--accent); border-left-color: var(--accent); font-weight: 500; }
.section-nav-sep { height: 1px; background: var(--border); margin: 3px 0; }
.section-nav-group {
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--text-muted);
  padding: 7px 14px 3px;
  opacity: 0.7;
}

/* ── BODY CONTENT ── */
.body-content h2 { font-size: 0.94rem; font-weight: 600; color: var(--text); margin: 24px 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--border); }
.body-content h2:first-child { margin-top: 0; }
.body-content h3 { font-size: 0.85rem; font-weight: 600; color: var(--accent-lt); margin: 16px 0 6px; }
.body-content p { font-size: 0.85rem; line-height: 1.78; margin-bottom: 10px; }
.body-content p:last-child { margin-bottom: 0; }

/* ── NOTICE BOXES ── */
.notice {
  background: #EDF6FF;
  border: 1.5px solid #7BBAE8;
  border-radius: var(--r);
  box-shadow: 0 2px 16px rgba(27, 107, 196, 0.09), 0 0 0 3px rgba(123, 186, 232, 0.10);
  padding: 13px 18px;
  font-size: 0.8rem;
  line-height: 1.65;
  color: #0C2E50;
  margin-bottom: 16px;
}
.notice.warn {
  background: #FFFBF0;
  border-color: #D4A030;
  box-shadow: 0 2px 16px rgba(176, 120, 32, 0.09), 0 0 0 3px rgba(212, 160, 48, 0.10);
  color: #3A2800;
}
.notice-label {
  display: block;
  font-size: 0.64rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
  color: #1A6BC4;
}
.notice.warn .notice-label { color: #A06010; }

/* ── PROPERTY LIST ── */
.prop-list { list-style: none; margin: 6px 0 12px; }
.prop-list li { font-size: 0.83rem; line-height: 1.7; padding: 5px 0 5px 14px; border-bottom: 1px solid var(--border); position: relative; }
.prop-list li:last-child { border-bottom: none; }
.prop-list li::before { content: '›'; position: absolute; left: 0; color: var(--accent-lt); font-weight: 700; }

/* ── REPORT CARD ── */
.report-card {
  background: var(--panel-alt);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-lt);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 16px 20px;
  margin-bottom: 12px;
}
.report-card:last-child { margin-bottom: 0; }
.report-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.report-id { font-family: 'IBM Plex Mono', monospace; font-size: 0.68rem; color: var(--accent); font-weight: 500; }
.report-date { font-size: 0.7rem; color: var(--text-muted); }
.report-text { font-size: 0.83rem; line-height: 1.78; color: var(--text); font-style: italic; }
.report-source { font-size: 0.72rem; color: var(--text-muted); margin-top: 8px; padding-top: 7px; border-top: 1px solid var(--border); }

/* ── ENTITY CARD ── */
.entity-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 12px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.entity-card:hover { border-color: rgba(16, 85, 176, 0.3); box-shadow: 0 4px 18px rgba(16, 85, 176, 0.08); }
.entity-card:last-child { margin-bottom: 0; }
.entity-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--panel-alt);
  border: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.4;
  font-family: 'IBM Plex Mono', monospace;
}
.entity-info h4 { font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.entity-info p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.55; margin: 0; }
.entity-meta { font-size: 0.67rem; color: var(--text-muted); margin-top: 5px; font-family: 'IBM Plex Mono', monospace; }

/* ── FIGURE / IMAGE ── */
.dp-figure { margin: 0 0 12px; }
.dp-figure:last-child { margin-bottom: 0; }
.dp-figure img { width: 100%; border-radius: 12px; display: block; border: 1px solid var(--border); }
.dp-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #D4E3F0 0%, #BDD0E6 100%);
  border-radius: 12px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  font-family: 'IBM Plex Mono', monospace;
}
.dp-figure figcaption { font-size: 0.73rem; color: var(--text-muted); text-align: center; margin-top: 8px; font-style: italic; line-height: 1.5; }

/* ── IMAGE GALLERY ── */
.img-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.img-gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
.img-gallery figure { margin: 0; }
.img-gallery .dp-img-placeholder { aspect-ratio: 4/3; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: var(--r-btn);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  text-decoration: none;
  letter-spacing: 0.02em;
  line-height: 1;
}
.btn:hover { text-decoration: none; }
.btn-sm { padding: 5px 13px; font-size: 0.74rem; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #0A3D88; color: #fff; }
.btn-secondary { background: transparent; color: var(--accent); border: 1px solid rgba(16, 85, 176, 0.35); }
.btn-secondary:hover { background: rgba(16, 85, 176, 0.07); color: var(--accent); }
.btn-ghost { background: transparent; color: var(--text-muted); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--panel-alt); color: var(--text); }
.btn:disabled, .btn.disabled { opacity: 0.42; cursor: not-allowed; pointer-events: none; }

/* ── BADGES ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.badge-ok     { background: #E0F5E9; color: #1A7A3C; border: 1px solid rgba(26,122,60,0.2); }
.badge-unk    { background: #FFF3E0; color: #9A6010; border: 1px solid rgba(154,96,16,0.2); }
.badge-warn   { background: #FFF0E0; color: #B05810; border: 1px solid rgba(176,88,16,0.2); }
.badge-info   { background: #E3F0FF; color: #1055B0; border: 1px solid rgba(16,85,176,0.2); }
.badge-danger { background: #FFE8E8; color: #A01818; border: 1px solid rgba(160,24,24,0.2); }

/* ── FORM ELEMENTS ── */
.dp-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 34px 8px 13px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.81rem;
  color: var(--text);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23527090' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  outline: none;
  transition: border-color 0.15s;
  box-shadow: var(--shadow);
}
.dp-select:focus { border-color: rgba(16, 85, 176, 0.45); }

.dp-input {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 13px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.81rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.15s;
  box-shadow: var(--shadow);
  width: 100%;
}
.dp-input:focus { border-color: rgba(16, 85, 176, 0.45); }
.dp-input::placeholder { color: var(--text-muted); }

.dp-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: #C8DDEF;
  outline: none;
  cursor: pointer;
}
.dp-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(16, 85, 176, 0.3);
  transition: box-shadow 0.15s;
}
.dp-range::-webkit-slider-thumb:hover { box-shadow: 0 2px 10px rgba(16, 85, 176, 0.45); }
.dp-range::-moz-range-thumb {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  border: none;
}

/* ── AUDIO PLACEHOLDER ── */
.audio-placeholder {
  background: var(--panel-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.audio-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(16, 85, 176, 0.09);
  border: 1px solid rgba(16, 85, 176, 0.2);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.75rem;
}
.audio-info { flex: 1; }
.audio-title { font-size: 0.8rem; font-weight: 500; color: var(--text); margin-bottom: 2px; }
.audio-meta { font-size: 0.7rem; color: var(--text-muted); }
.audio-bar { margin-top: 8px; }

/* ── ELEMENT LIBRARY DIVIDER ── */
.lib-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 30px 0 20px;
}
.lib-divider::before, .lib-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.lib-divider span {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ── ELEMENT LIBRARY SECTIONS ── */
.elem-group { margin-bottom: 28px; }
.elem-group:last-child { margin-bottom: 0; }
.elem-group-label {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-lt);
  margin-bottom: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--border);
}
.elem-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 10px; }
.elem-row:last-child { margin-bottom: 0; }
.elem-label-inline {
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  min-width: 80px;
}

/* ── LEVEL TABLE ── */
.level-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.level-table thead tr { background: var(--panel-alt); }
.level-table th { padding: 10px 14px; text-align: left; font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.level-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.level-table tr:last-child td { border-bottom: none; }
.level-table tbody tr:hover td { background: rgba(16, 85, 176, 0.025); }

/* ── HOME PAGE ── */
.home-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.home-card-title { font-size: 0.64rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.home-list { list-style: none; }
.home-list li { font-size: 0.83rem; padding: 7px 0; border-bottom: 1px solid var(--border); display: flex; align-items: baseline; gap: 10px; }
.home-list li:last-child { border-bottom: none; }
.lvl-id { font-family: 'IBM Plex Mono', monospace; font-size: 0.67rem; color: var(--accent); white-space: nowrap; flex-shrink: 0; }
.item-muted { color: var(--text-muted); font-style: italic; font-size: 0.78rem; }

/* ── STATS BAR ── */
.stats-row { display: flex; }
.stat-item { flex: 1; text-align: center; padding: 14px 0; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-val { display: block; font-family: 'IBM Plex Mono', monospace; font-size: 1.35rem; font-weight: 500; color: var(--accent); }
.stat-lbl { font-size: 0.64rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-top: 2px; }

/* ── LORE ENTRY TITLE ── */
.lore-entry-title { font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }

/* ── SCROLL ANCHOR ── */
.section-anchor { scroll-margin-top: 90px; }

/* ── PLACEHOLDER ── */
.placeholder { text-align: center; color: var(--text-muted); font-style: italic; font-size: 0.83rem; padding: 40px; line-height: 1.8; }

/* ── FOOTER ── */
.site-footer { text-align: center; font-size: 0.7rem; color: var(--text-muted); padding: 20px; border-top: 1px solid var(--border); letter-spacing: 0.04em; max-width: 1080px; margin: 0 auto; }
.site-footer a { color: var(--link); }

/* ── RESPONSIVE ── */
@media (max-width: 720px) {
  body { padding-top: 70px; }
  .nav-brand { font-size: 0.65rem; letter-spacing: 0.1em; padding: 0 10px; }
  .nav-link { padding: 5px 8px; font-size: 0.74rem; }
  .page-wrap { padding: 18px 14px 60px; }
  .home-grid { grid-template-columns: 1fr; }
  .stats-row { flex-wrap: wrap; }
  .stat-item { min-width: 50%; border-bottom: 1px solid var(--border); }
  .level-layout { flex-direction: column; }
  .level-sidebar { width: 100%; position: static; }
  .img-gallery { grid-template-columns: repeat(2, 1fr); }
  .img-gallery.cols-2 { grid-template-columns: 1fr; }
}

/* ── INLINE MARKERS ── */
.dp-redacted {
  display: inline-flex;
  align-items: center;
  background: #1A1F2B;
  color: #1A1F2B;
  border-radius: 4px;
  padding: 1px 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78em;
  font-weight: 500;
  letter-spacing: 0.04em;
  user-select: none;
  position: relative;
  vertical-align: baseline;
  cursor: default;
  border: 1px solid #111520;
  min-width: 80px;
  justify-content: center;
  line-height: 1.6;
}
.dp-redacted::after {
  content: attr(data-label);
  position: absolute;
  color: rgba(180,200,230,0.15);
  font-size: 0.72em;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  pointer-events: none;
}
.dp-unknown {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 85, 176, 0.07);
  color: #3A7AB8;
  border: 1px dashed rgba(58, 122, 184, 0.5);
  border-radius: 4px;
  padding: 1px 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78em;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  user-select: none;
  vertical-align: baseline;
  cursor: default;
  line-height: 1.6;
}
.dp-unknown::before {
  content: '?';
  font-size: 0.9em;
  opacity: 0.6;
}

/* ── SEARCH BAR ── */
.search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.search-input-wrap {
  position: relative;
  flex: 1;
  max-width: 380px;
}
.search-input-wrap .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.8rem;
  pointer-events: none;
  opacity: 0.7;
}
.dp-search {
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-btn);
  padding: 8px 13px 8px 34px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--text);
  outline: none;
  box-shadow: var(--shadow);
  transition: border-color 0.15s;
}
.dp-search:focus { border-color: rgba(16, 85, 176, 0.4); }
.dp-search::placeholder { color: var(--text-muted); }
.search-count {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  font-family: 'IBM Plex Mono', monospace;
}
.search-no-results {
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.83rem;
  padding: 36px;
  display: none;
}
