/* Shared look for the explorer (home) and the inscribe / quantum app. Dark, readable, PQSB-focused. */
:root {
  color-scheme: dark;
  --bg: #070a10;
  --bg-2: #0d1420;
  --card: #111924;
  --card-2: #172232;
  --line: rgba(150, 196, 230, 0.18);
  --fg: #e7eef6;
  --mut: #93a4b8;
  --acc: #7ee0ff;
  --acc-2: #9b8cff;
  --good: #5ee0a0;
  --warn: #f0c36a;
  --bad: #ff8b9a;
  --seal: #1f9d55;
  --open: #d69e2e;
  --ink: var(--fg);
  --muted: var(--mut);
  --paper: var(--card);
  --paper-2: var(--card-2);
  --rule: var(--line);
  --accent: var(--acc);
  --accent-ink: #041018;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--fg);
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(126, 224, 255, 0.16), transparent 55%),
    radial-gradient(700px 380px at -10% 20%, rgba(155, 140, 255, 0.14), transparent 50%),
    var(--bg);
  font: 15px/1.55 "Segoe UI", system-ui, -apple-system, sans-serif;
}
a { color: var(--acc); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; }
.break { word-break: break-all; }
.muted, .lede { color: var(--mut); }
.small { font-size: 0.85em; color: var(--mut); overflow-wrap: anywhere; }
.nowrap { white-space: nowrap; }
.ok { color: var(--good); }
.warn { color: var(--warn); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.top, .site-header {
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-template-areas: "bar search pill" "nav nav nav";
  align-items: center;
  gap: 10px 16px;
  padding: 12px 22px 10px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 10, 16, 0.86);
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  z-index: 5;
}
.header-bar { grid-area: bar; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 220px; }
.wallet-slot { position: relative; margin-left: auto; }
.wallet-btn {
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(126, 224, 255, 0.12);
  color: var(--fg);
  border: 1px solid var(--line);
  font-size: 13px;
  white-space: nowrap;
  max-width: 11rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wallet-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 30;
  width: min(280px, 80vw);
  background: #101820;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.wallet-menu button { width: 100%; text-align: left; margin: 4px 0; }
.wallet-warn { color: var(--warn); font-size: 12px; margin: 6px 0; }
.site-header .search { grid-area: search; margin-left: 0; }
.site-header .pill { grid-area: pill; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--fg); letter-spacing: -0.02em; }
.brand span { color: var(--acc); }
.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background:
    linear-gradient(135deg, transparent 48%, var(--acc) 49% 51%, transparent 52%),
    linear-gradient(45deg, transparent 48%, var(--acc-2) 49% 51%, transparent 52%),
    #102033;
  box-shadow: 0 0 0 1px rgba(126, 224, 255, 0.45);
}
.nav-toggle {
  display: none;
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
}
.site-nav, nav.site-nav { grid-area: nav; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.site-nav a, nav.site-nav a {
  color: var(--mut);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 14px;
}
.site-nav a[aria-current="page"], nav.site-nav a[aria-current="page"], .site-nav a:hover, nav.site-nav a:hover {
  color: var(--fg);
  background: rgba(126, 224, 255, 0.12);
  text-decoration: none;
}
.search { display: flex; gap: 8px; flex: 0 1 380px; margin-left: auto; min-width: 200px; }
.search input, input, textarea, select {
  width: 100%;
  background: #0c121b;
  border: 1px solid var(--line);
  color: var(--fg);
  padding: 10px 12px;
  border-radius: 12px;
  font: inherit;
}
.search input { flex: 1; }
button, .btn {
  background: var(--acc);
  color: #041018;
  border: 0;
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
button:hover, .btn:hover { text-decoration: none; filter: brightness(1.06); }
.wallet-menu button {
  width: 100%;
  text-align: left;
  margin: 4px 0;
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.wallet-menu button.ghost { background: transparent; }
button:disabled { cursor: not-allowed; opacity: 0.55; }
.btn.ghost, button.ghost, .ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
}
.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--acc);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.pill.warn { border-color: var(--warn); color: var(--warn); }

main, .wrap { max-width: 1180px; margin: 0 auto; padding: 28px 22px 64px; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); margin: 8px 0 12px; letter-spacing: -0.03em; line-height: 1.05; font-weight: 650; }
.hero p { color: var(--mut); max-width: 68ch; }
.eyebrow { color: var(--acc); letter-spacing: 0.14em; text-transform: uppercase; font-size: 12px; font-weight: 700; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 22px 0; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.stat b { display: block; font-size: 26px; }
.stat span { color: var(--mut); font-size: 0.85em; }
.card, .sheet, .receipt {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  margin: 18px 0;
  color: var(--fg);
}
.sheet, .receipt { margin: 0; }
.receipt { position: sticky; top: 84px; align-self: start; }
.featured .flabel { color: var(--acc); font-size: 0.8em; text-transform: uppercase; letter-spacing: 0.12em; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.preview { width: 100%; height: 240px; border: 1px solid var(--line); border-radius: 12px; background: #000; }
.preview.tall { height: 360px; }
.grid2, .layout { display: grid; grid-template-columns: 1.2fr 0.9fr; gap: 18px; }
.grid2 .card, .layout .card { margin: 0; }
dl.kv, .receipt dl, .fee-lines { display: grid; gap: 0; margin: 10px 0 0; }
dl.kv { grid-template-columns: 150px 1fr; gap: 6px 14px; }
dl.kv dt { color: var(--mut); }
dl.kv dd, .receipt dd, .fee-lines dd { margin: 0; }
.receipt dl div, .fee-lines div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.receipt dt, .fee-lines dt { color: var(--mut); }
.receipt .total, .fee-lines .total { border-bottom: 0; font-size: 18px; color: var(--fg); padding-top: 12px; }
.receipt dd, .fee-lines dd { text-align: right; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--mut); font-weight: 500; font-size: 0.85em; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-weight: 700; font-size: 0.8em; letter-spacing: 0.04em; }
.badge.big { font-size: 1em; padding: 6px 14px; }
.badge.sealed { background: #12371f; color: #7cf0b1; border: 1px solid var(--seal); }
.badge.open { background: #3a2a0c; color: #f6c76b; border: 1px solid var(--open); }
.badge.none { background: #222; color: var(--mut); border: 1px solid #333; }
.badge.claimed { background: #0f2f33; color: #8be9e0; border: 1px dashed #2b7a78; }
.qsafe img { vertical-align: middle; }
.ev.seal { color: #7cf0b1; }
.ev.unseal { color: #f6c76b; }
ol.hops { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
ol.hops li { padding: 8px 0 10px 16px; position: relative; }
ol.hops li:before { content: ''; position: absolute; left: -7px; top: 13px; width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
ol.hops li.locked:before { background: var(--seal); }
.hop-b { color: var(--mut); font-size: 0.88em; }
.tag { font-size: 0.72em; padding: 2px 7px; border-radius: 6px; background: #1d242c; color: var(--mut); text-transform: uppercase; letter-spacing: 0.06em; }
.tag.lock { background: #12371f; color: #7cf0b1; }
.tag.now { background: #16324a; color: #8fd3ff; }
.crumbs { color: var(--mut); font-size: 0.85em; }
.head h1 { margin: 4px 0; }
.prose { max-width: 820px; }
.prose h2 { margin-top: 22px; }
h2 { margin: 0 0 8px; font-size: 22px; font-weight: 650; }
footer { max-width: 1180px; margin: 30px auto; padding: 0 22px 30px; color: var(--mut); font-size: 0.8em; }
.chip { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 0.78em; font-weight: 600; border: 1px solid var(--line); white-space: nowrap; }
.chip.k-pqb { background: #12371f; color: #7cf0b1; border-color: #1f9d55; }
.chip.k-qsb { background: #2a1f3d; color: #c9a7ff; border-color: #6b4fa3; }
.chip.k-sw { background: #10293a; color: #8fd3ff; border-color: #2f6f99; }
.chip.k-lg { background: #33240f; color: #f6c76b; border-color: #8a6420; }
.chip.claimed { border-style: dashed; opacity: 0.92; }
.tag.lock.claimed { background: #0f2f33; color: #8be9e0; }
.types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 10px 0; }
.tcard { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; border-top: 3px solid var(--line); }
.tcard:hover { border-color: var(--acc); }
.tcard.k-pqb { border-top-color: #1f9d55; }
.tcard.k-qsb { border-top-color: #6b4fa3; }
.tcard.k-sw { border-top-color: #2f6f99; }
.tcard.k-lg { border-top-color: #8a6420; }
.tname { font-weight: 700; font-size: 1.05em; }
.tby { color: var(--mut); font-size: 0.8em; margin-bottom: 6px; }
.tnum { display: block; font-size: 26px; }
.claim blockquote { margin: 8px 0; padding: 8px 14px; border-left: 3px solid #2b7a78; color: #cfe; background: #0f1d20; border-radius: 8px; }
.feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin: 12px 0; }
.fcard { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; color: var(--fg); }
.fcard:hover { text-decoration: none; border-color: var(--acc); }
.fprev { display: block; width: 100%; aspect-ratio: 1/1; border: 0; background: #000; object-fit: contain; pointer-events: none; }
.fmeta { padding: 10px 12px; display: grid; gap: 4px; }
.fmeta b { font-size: 1.05em; }
.pimg { object-fit: contain; background: #000; }
.preview.pimg { height: auto; max-height: 360px; }
.pager { display: flex; gap: 14px; align-items: center; justify-content: center; margin: 18px 0; }
.mapbar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 10px; }
.kchip { background: #121820; color: var(--mut); border: 1px solid var(--line); padding: 5px 10px; border-radius: 999px; font-weight: 600; font-size: 0.82em; }
.kchip.on { color: #fff; background: #12324a; border-color: var(--acc); }
.kchip.off { opacity: 0.45; cursor: not-allowed; }
.mapgrid { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 18px; }
.mapgrid .card { margin: 0; }
#qmap { position: relative; }
#qmap-canvas { display: block; width: 100%; margin-top: 10px; border-radius: 8px; background: #0d1117; }
.maptip { position: absolute; z-index: 3; background: #0b0f15f2; border: 1px solid #2f6f99; border-radius: 8px; padding: 8px 10px; font-size: 0.82em; pointer-events: none; min-width: 200px; }
.maptip .pq { color: #8fd3ff; font-weight: 600; }
.blist { display: flex; flex-wrap: wrap; gap: 6px; }
.bchip { background: #121820; color: var(--fg); border: 1px solid var(--line); padding: 5px 9px; border-radius: 7px; font-weight: 500; display: inline-flex; gap: 4px; align-items: center; }
.bchip.on { border-color: var(--acc); background: #13233d; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 4px; }
.pqlist { list-style: none; padding: 0; margin: 12px 0 0; }
.pqlist li { padding: 3px 0; }
.tprev { margin: 0; padding: 12px 14px; background: #0a0a0a; color: #c8e6c8; font: 12px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre-wrap; word-break: break-word; overflow: hidden; }
.fprev.tprev { aspect-ratio: 1/1; width: 100%; max-height: none; }
.preview.tprev { height: auto; max-height: 360px; overflow: auto; border-radius: 12px; border: 1px solid var(--line); }

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
  margin: 8px 0 12px;
  padding: 0;
  border: 0;
  background: transparent;
}
.fselect {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  font-weight: 650;
  color: var(--mut);
}
.fselect select {
  width: auto;
  min-width: 11rem;
  padding: 8px 28px 8px 12px;
  border-radius: 999px;
  background: #101820 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237ee0ff' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center;
  appearance: none;
}
.filters button { padding: 8px 14px; }
.filter-pop { position: relative; }
.filter-pop summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  background: #101820;
  color: var(--fg);
  font-weight: 700;
}
.filter-pop summary::-webkit-details-marker { display: none; }
.filter-pop summary::before { content: '▾'; color: var(--acc); font-size: 0.8em; }
.filter-pop[open] summary { border-color: var(--acc); }
.fcount { background: var(--acc); color: #041018; border-radius: 999px; min-width: 1.3em; text-align: center; font-size: 0.75em; padding: 0 5px; }
.filter-panel {
  position: absolute;
  z-index: 6;
  top: calc(100% + 8px);
  left: 0;
  width: min(760px, 86vw);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #0e1622;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fchip { border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; color: var(--fg); font-size: 0.82em; background: rgba(126, 224, 255, 0.08); }
.fchip:hover { text-decoration: none; border-color: var(--acc); }
.filter-match { margin-left: auto; }
.filters fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.filters legend { color: var(--acc); font-size: 0.72em; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0; width: 100%; }
.fopts { display: flex; flex-wrap: wrap; gap: 6px; }
.fopt { display: inline-flex; gap: 6px; align-items: center; background: #101820; color: var(--fg); border: 1px solid var(--line); border-radius: 999px; padding: 5px 10px; font-size: 0.82em; font-weight: 600; cursor: pointer; user-select: none; }
.fopt input { accent-color: var(--acc); margin: 0; }
.fopt.on, .fopt:has(input:checked) { background: #12324a; border-color: var(--acc); color: #fff; }
.fopt .count { color: var(--mut); font-weight: 500; }
.ftime { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); gap: 8px; align-items: end; }
.ftime-field { display: grid; gap: 4px; color: var(--mut); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.factions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.filters .error { margin: 0; }

.layout { margin-top: 8px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.choice { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: #0e1622; }
.choice.recommended { outline: 2px solid var(--good); }
.choice h3 { margin: 0 0 8px; font-size: 18px; }
.choice ol { margin: 8px 0 0; padding-left: 18px; }
.choice pre { white-space: pre-wrap; word-break: break-all; background: #0c121b; border: 1px solid var(--line); padding: 8px; border-radius: 8px; }
.wallets, .modes, .tabs, .row { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs { margin: 18px 0 0; }
.wallets button, .modes button, .tabs button {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
}
.wallets button[aria-pressed="true"], .modes button[aria-pressed="true"], .tabs button[aria-pressed="true"] {
  background: rgba(126, 224, 255, 0.16);
  border-color: var(--acc);
  color: var(--fg);
}
.primary { background: linear-gradient(180deg, #b8f4ff, #5fd0f0); color: #041018; border: 0; }
label { display: block; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--mut); margin: 14px 0 6px; }
label.check { text-transform: none; letter-spacing: 0; font-size: 15px; color: var(--fg); display: flex; gap: 8px; align-items: flex-start; }
label.check input { width: auto; margin-top: 4px; }
textarea { min-height: 140px; resize: vertical; }
.note, .error {
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 12px;
  line-height: 1.45;
}
.note { background: rgba(126, 224, 255, 0.08); border: 1px solid rgba(126, 224, 255, 0.2); }
.error { background: rgba(255, 139, 154, 0.12); color: #ffc2ca; border: 1px solid rgba(255, 139, 154, 0.35); }
.file-facts p { margin: 4px 0; overflow-wrap: anywhere; }
.hash { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
.qr { width: min(240px, 100%); height: auto; margin-top: 12px; background: #fff; border-radius: 8px; }
.copy { margin-left: 8px; padding: 2px 8px; }
.label-line { font-weight: 650; }
.progress { margin-top: 22px; }
.steps { list-style: none; margin: 0; padding: 0; }
.step { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 8px 0; }
.step p { margin: 2px 0 0; color: var(--mut); }
.mark-dot {
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: transparent;
  display: inline-block;
}
.step.done .mark-dot { background: var(--good); border-color: var(--good); }
.step.current .mark-dot { border-color: var(--acc); border-top-color: transparent; animation: spin 0.8s linear infinite; }
.step.error .mark-dot { background: var(--bad); border-color: var(--bad); }
.step.pending, .step.upcoming { opacity: 0.62; }
.poll-note { display: flex; align-items: center; gap: 8px; color: var(--acc); margin: 8px 0; }
.spinner {
  width: 0.9em;
  height: 0.9em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.7s linear infinite;
  flex: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.vault-shelf { margin: 8px 0 18px; }
.vault-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.vault-list { display: grid; gap: 10px; margin-top: 12px; }
.vault-card { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: #0c121b; }
.vault-glyph { width: 72px; height: 72px; border-radius: 12px; background: #16304a; }
.vault-card b { display: block; }
.fee-share { margin: 6px 0 0; }
.usd { color: var(--mut); font-weight: 550; white-space: nowrap; }

@media (max-width: 980px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .types { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .frow, .grid2, .layout, .split, .mapgrid { grid-template-columns: 1fr; }
  .receipt { position: static; }
  dl.kv { grid-template-columns: 1fr; }
  .top, .site-header { grid-template-columns: 1fr; grid-template-areas: "bar" "search" "nav"; }
  .fselect, .fselect select { min-width: 0; flex: 1 1 9rem; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; flex-direction: column; align-items: stretch; padding: 4px 0 8px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 12px; }
  .search, .site-header .search { width: 100%; max-width: none; }
  .ftime { grid-template-columns: 1fr; }
  .feed { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .top, .site-header { padding: 12px 14px; }
  main, .wrap { padding: 18px 14px 48px; }
}
@media (max-width: 520px) {
  .types, .stats { grid-template-columns: 1fr; }
  .feed { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .fcard { border-radius: 10px; }
  .fmeta { padding: 4px 4px 6px; gap: 2px; }
  .fmeta b, .fmeta .small, .fcard .fevent { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
  .fcard .chip, .fcard .badge { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; padding: 1px 4px; }
  .vault-card { grid-template-columns: 56px 1fr; }
  .vault-glyph { width: 56px; height: 56px; }
}
@media (min-width: 400px) and (max-width: 520px) {
  .feed { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
