/* GENERATED by tools/assemble.cjs from src/css/j7/{a,b}.css. Do not edit: edit the part sources. */

/* ---- src/css/j7/a.css ---- */
/* TX Arena J7 deploy panel, part a (j7-a spec section 4; CONTRACT 1.4). Assembled into public/css/j7.css before
   part b (feed, footer, popover contents). Covers the panel root and tokens, the top bar and saved tabs, the body
   grid and form visibility, the deploy form at its four densities, the Deploy bar, the live chip, the popover
   machinery (base look, header, switch row, hotkey pieces) and the animations. */

/* ---------------------------------------------------------------------------------------------------------
   4.1 Root and panel tokens
   --------------------------------------------------------------------------------------------------------- */
.j7 {
  --c-top: #181818;
  --c-form: #282828;
  --c-feed: #181818;
  --c-card: #2a2a2a;
  --c-card-b: #343434;
  --c-btn: #2d2d2d;
  --c-btn-h: #363636;
  --c-line: #3b3b3b;
  --c-in: #161616;
  --c-in-b: #0c0c0c;
  --c-tx: #ececec;
  --c-tx-2: #a8a8a8;
  --c-tx-3: #6e6e6e;
  --c-acc: #6d6af5;
  --c-hl: #8545c5;
  --c-hl-bg: #221f27;
  --c-pink: #f25ca9;
  --c-blue: #3b9ce6;
  --c-green: #4ade80;
  --c-yellow: #eab308;
  --c-red: #e5484d;
  container: j7 / inline-size;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  min-height: 0;
  background: var(--c-top);
  color: var(--c-tx);
  font-family: var(--font-j7);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500; /* the original ships Inter 500 / 700 only: unweighted text renders at 500 */
}
.j7 button,
.tx-pop.j7-pop button {
  user-select: none;
  -webkit-user-select: none;
}
.j7 button:focus-visible,
.tx-pop.j7-pop button:focus-visible {
  outline: 1px solid #6d6af5;
  outline-offset: 1px;
}
.j7 .sp {
  flex: 1 1 auto;
}

/* the generic "≡" coin mark: three slanted gradient bars */
.j7-sol {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6px;
  width: 11px;
  height: 10px;
  flex: 0 0 auto;
  vertical-align: -1px;
}
.j7-sol > i {
  display: block;
  width: 9px;
  height: 2.1px;
  border-radius: 1px;
  background: linear-gradient(90deg, #a35cff, #23d6a6);
  transform: skewX(-38deg);
}

.j7-simchip {
  display: inline-block;
  padding: 2px 4px;
  border-radius: 3px;
  background: #6d6af5;
  color: #fff;
  font: 700 8.5px/1 var(--font-j7);
  letter-spacing: 0.07em;
}

/* ---------------------------------------------------------------------------------------------------------
   4.2 Top bar
   --------------------------------------------------------------------------------------------------------- */
.j7-top {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px;
  background: var(--c-top);
  border-bottom: 1px solid #0b0b0b;
  overflow: hidden;
}
.j7-tb {
  flex: 0 0 auto;
  height: 30px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: var(--c-btn);
  border: 1px solid var(--c-line);
  border-radius: 8px;
  color: var(--c-tx);
  font: 500 12px/1 var(--font-j7);
  white-space: nowrap;
  transition: background 0.1s, border-color 0.1s;
}
.j7-tb:hover {
  background: var(--c-btn-h);
  border-color: #4a4a4a;
}
.j7-tb > i {
  font-size: 15px;
  color: #d6d6d6;
}
.j7-tb.sq {
  width: 32px;
  padding: 0;
}
.j7-tb.users .n {
  font-variant-numeric: tabular-nums;
}
.j7-tb.chat {
  position: relative;
  flex: 1 1 auto;
  min-width: 33px;
  padding: 0 8px 0 28px;
  background: #1d1e2a;
  border-color: var(--c-acc);
  color: #b7b7c8;
  box-shadow: inset 0 0 0 1px rgb(109 106 245 / 0.15);
}
.j7-tb.chat > i {
  position: absolute;
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
  color: #8b89f2;
}
.j7-tb.chat .lbl {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.j7-tb.chat:hover {
  background: #24253a;
  border-color: #8381f8;
}
/* "Deploy panel" switch: explore mode only; .on mirrors the form state in every mode */
.j7-tb.dpt {
  display: none;
  gap: 6px;
  color: #b5b5b5;
}
.j7.explore .j7-tb.dpt {
  display: inline-flex;
}
.j7-tb.dpt .k {
  position: relative;
  flex: 0 0 auto;
  width: 24px;
  height: 14px;
  border-radius: 99px;
  background: #3a3a3a;
  transition: background 0.12s;
}
.j7-tb.dpt .k > i {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #bdbdbd;
  transition: transform 0.12s, background 0.12s;
}
.j7-tb.dpt.on {
  color: #fff;
  border-color: #4a4a58;
}
.j7-tb.dpt.on .k {
  background: #6366f1;
}
.j7-tb.dpt.on .k > i {
  transform: translateX(10px);
  background: #fff;
}

/* saved token tabs */
.j7-tabs {
  flex: 0 0 auto;
  display: flex;
  height: 30px;
  background: var(--c-btn);
  border: 1px solid var(--c-line);
  border-radius: 8px;
  overflow: hidden;
}
.j7-tab {
  position: relative;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 14px 0 6px;
  border-right: 1px solid var(--c-line);
  cursor: pointer;
}
.j7-tab:hover {
  background: var(--c-btn-h);
}
.j7-tab img {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  object-fit: cover;
}
.j7-tab .t {
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
}
.j7-tab .x {
  position: absolute;
  top: 0;
  right: 1px;
  padding: 1px;
  font-size: 10px;
  line-height: 1;
  color: #9a9a9a;
}
.j7-tab .x:hover {
  color: #fff;
}
.j7-tab-add {
  flex: 0 0 auto;
  width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d6d6d6;
  font-size: 15px;
}
.j7-tab-add:hover {
  background: var(--c-btn-h);
}
.j7-tab:nth-child(n + 3) {
  display: none; /* from 560 px: the first two tabs */
}
.j7.noform .j7-tb.vamp,
.j7.noform .j7-tabs {
  display: none;
}

@container j7 (max-width: 559.98px) {
  .j7-tab:nth-child(n + 2) {
    display: none;
  }
  .j7:not(.noform) .j7-tb.dpt .lbl {
    display: none;
  }
}
@container j7 (max-width: 469.98px) {
  .j7-top {
    gap: 4px;
    padding: 6px;
  }
  .j7-tb {
    padding: 0 7px;
  }
  .j7-tb.vamp {
    width: 32px;
    padding: 0;
  }
  .j7-tb.vamp .lbl {
    display: none;
  }
  .j7-tb.chat {
    padding: 0 7px 0 26px;
  }
}
@container j7 (max-width: 379.98px) {
  .j7-tb.chat {
    flex: 0 0 32px;
    width: 32px;
    padding: 0;
  }
  .j7-tb.chat .lbl {
    display: none;
  }
  .j7-tb.chat > i {
    position: static;
    transform: none;
  }
  .j7-tabs {
    flex: 0 1 auto;
    min-width: 0;
  }
  .j7-tb.users {
    padding: 0 6px;
  }
}

/* ---------------------------------------------------------------------------------------------------------
   4.3 Body (form | feed) and form visibility
   --------------------------------------------------------------------------------------------------------- */
.j7-body {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 27fr) minmax(0, 23fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 1px;
  background: #0b0b0b;
  transition: grid-template-columns 0.26s cubic-bezier(0.3, 0.7, 0.2, 1), grid-template-rows 0.26s cubic-bezier(0.3, 0.7, 0.2, 1);
}
.j7-form {
  container: j7f / inline-size;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-bottom: 112px; /* a field scrolled into view stops above the sticky deploy bar */
  background: var(--c-form);
  visibility: visible;
  transition: opacity 0.18s ease 0.06s, visibility 0s;
}
.j7.noform .j7-body {
  grid-template-columns: minmax(0, 0fr) minmax(0, 23fr);
  gap: 0;
}
.j7.noform .j7-form {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.1s ease, visibility 0s linear 0.26s;
}
.j7.noform .j7-deploy {
  pointer-events: none;
}
.j7.instant .j7-body,
.j7.instant .j7-form {
  transition: none !important;
}
/* stacked below 360 px (the split bar is part b's) */
@container j7 (max-width: 359.98px) {
  .j7-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: clamp(230px, var(--j7-split, 50%), calc(100% - 170px)) 9px minmax(0, 1fr);
    gap: 0;
  }
  .j7.noform .j7-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 0 0 minmax(0, 1fr);
  }
}

/* ---------------------------------------------------------------------------------------------------------
   4.4 Form container and density (compact < 300 | base 300-379 | reference >= 380 | roomy >= 520)
   --------------------------------------------------------------------------------------------------------- */
.j7-fi {
  --fld: 29px;
  --h: 24px;
  --opt: 27px;
  --fs: 12px;
  --lab: 9px;
  --gap: 5px;
  --thumb: 40px;
  --r: 6px;
  --px: 7px;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  min-height: 100%;
  padding: 6px var(--px) 10px;
}
@container j7f (min-width: 300px) {
  .j7-fi {
    --fld: 33px;
    --h: 27px;
    --opt: 31px;
    --fs: 12.5px;
    --lab: 10px;
    --gap: 6px;
    --thumb: 50px;
    --r: 6px;
    --px: 9px;
    padding-top: 7px;
  }
}
@container j7f (min-width: 380px) {
  .j7-fi {
    --fld: 37px;
    --h: 29px;
    --opt: 34px;
    --fs: 13px;
    --lab: 10.5px;
    --gap: 7px;
    --thumb: 58px;
    --r: 6px;
    --px: 11px;
  }
}
@container j7f (min-width: 520px) {
  .j7-fi {
    --fld: 39px;
    --h: 30px;
    --opt: 35px;
    --fs: 13px;
    --lab: 10.5px;
    --gap: 7px;
    --thumb: 62px;
    --r: 6px;
    --px: 13px;
  }
}

/* ---------------------------------------------------------------------------------------------------------
   4.5 Form pieces
   --------------------------------------------------------------------------------------------------------- */

/* header */
.j7-fhead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.j7-ib {
  flex: 0 0 auto;
  width: var(--h);
  height: var(--h);
  display: grid;
  place-items: center;
  background: var(--c-btn);
  border: 1px solid var(--c-line);
  border-radius: 7px;
  color: #d0d0d0;
  font-size: 14px;
  transition: background 0.1s, color 0.1s, border-color 0.1s;
}
.j7-ib:hover {
  background: var(--c-btn-h);
  color: #fff;
}
.j7-ib.sm {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  font-size: 12px;
}
.j7-ib.dim {
  background: #262626;
  color: #686868;
}
.j7-ib.on {
  background: #312e1d;
  border-color: #7a6a17;
  color: #eab308;
}
.j7-ib.lg {
  width: var(--fld);
  height: var(--fld);
  font-size: 15px;
}
.j7-wallet {
  min-width: 0;
  height: var(--h);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  background: var(--c-btn);
  border: 1px solid var(--c-line);
  border-radius: 7px;
  color: var(--c-tx);
  font: 500 12px/1 var(--font-j7);
  white-space: nowrap;
}
.j7-wallet > i {
  font-size: 13px;
  color: #bdbdbd;
}
.j7-wallet .wn {
  max-width: 54px;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #cfcfcf;
}
.j7-wallet b {
  color: #fff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.j7-wallet:hover {
  background: var(--c-btn-h);
}
/* vamp mark (filled by part b) */
.j7-vtag {
  flex: 0 0 auto;
  max-width: 100%;
  height: var(--h);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0 1px 0 6px;
  background: #261d33;
  border: 1px solid #5b3f86;
  border-radius: 7px;
  color: #d9c2fb;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  animation: j7-pop 0.3s cubic-bezier(0.2, 1.5, 0.45, 1);
}
.j7-vtag[hidden] {
  display: none;
}
.j7-vtag > i {
  flex: 0 0 auto;
  font-size: 12px;
  color: #b58cf5;
}
.j7-vtag .t {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.j7-vtag .x {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: #9f8bbd;
  font-size: 12px;
}
.j7-vtag .x:hover {
  background: #3a2c4f;
  color: #fff;
}

/* labels and counters */
.j7-lab {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  color: #a6a6a6;
  font-size: var(--lab);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}
.j7-lab .cnt {
  color: var(--c-tx-3);
  font-weight: 500;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.j7-lab .cnt.full {
  color: var(--c-red);
}
.j7-lab.sym {
  flex-wrap: nowrap;
}

/* AUTO-FILL / AUTO-GEN checkboxes */
.j7-cbs {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.j7-cb {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  color: #a6a6a6;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.j7-cb input {
  position: absolute;
  width: 0;
  height: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.j7-cb .box {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  display: grid;
  place-items: center;
  border: 1px solid #7c7c7c;
  border-radius: 3px;
}
.j7-cb .box > i {
  font-size: 10px;
  line-height: 1;
  color: #fff;
  visibility: hidden;
}
.j7-cb:hover .box {
  border-color: #c4c4c4;
}
.j7-cb input:checked + .box {
  background: #6366f1;
  border-color: #6366f1;
}
.j7-cb input:checked + .box > i {
  visibility: visible;
}
.j7-cb input:checked ~ .txt {
  color: #d4d4d4;
}

/* fields */
.j7-field {
  min-width: 0;
  height: var(--fld);
  display: flex;
  align-items: center;
  background: var(--c-in);
  border: 1px solid var(--c-in-b);
  border-radius: var(--r);
  transition: border-color 0.12s, box-shadow 0.12s;
}
.j7-field:hover {
  border-color: #262626;
}
.j7-field:focus-within {
  border-color: #4a4a58;
  box-shadow: 0 0 0 1px rgb(109 106 245 / 0.3);
}
.j7-field.filled {
  animation: j7-filled 0.7s ease-out;
}
.j7-field.shake {
  animation: j7-shake 0.32s ease-in-out;
  border-color: var(--c-red);
}
.j7-in {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: 0 11px;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--c-tx);
  font-family: inherit;
  font-size: calc(var(--fs) + 1.5px);
}
.j7-in::placeholder {
  color: #5c5c5c;
}
.j7-jp {
  flex: 0 0 auto;
  height: 100%;
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding: 0 8px 0 5px;
  color: #6a6a6a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.j7-jp > i {
  font-size: 13px;
}
.j7-jp:hover {
  color: #bdbdbd;
}
.j7-jp.on {
  color: var(--c-pink);
}

/* name presets + auto-deploy bolt */
.j7-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: -2px;
}
.j7-chip {
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  background: #131313;
  border: 1px solid #070707;
  border-radius: 5px;
  color: #d6d6d6;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color 0.1s, color 0.1s;
}
.j7-chip:hover {
  border-color: #4a4a4a;
  color: #fff;
}
.j7-chip.dash {
  background: transparent;
  border: 1px dashed #4e4e4e;
  color: #9a9a9a;
}
.j7-chip.sq {
  width: 27px;
  padding: 0;
  font-size: 12px;
}
.j7-chip.on {
  background: #2b2816;
  border-style: solid;
  border-color: var(--c-yellow);
  color: var(--c-yellow);
}
.j7-chip.ghost {
  color: #575757;
}

/* ticker idea chips */
.j7-tks {
  flex: 1 1 auto;
  min-width: 0;
  height: 17px;
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.j7-tks::-webkit-scrollbar {
  display: none;
}
.j7-tk {
  flex: 0 0 auto;
  height: 17px;
  display: inline-flex;
  align-items: center;
  padding: 0 6px;
  background: #1c1c1c;
  border: 1px solid #3a3a3a;
  border-radius: 4px;
  color: #bdbdbd;
  font: 500 10px/1 var(--font-mono);
  letter-spacing: 0.02em;
  text-transform: none;
  scroll-snap-align: start;
  transition: border-color 0.1s, color 0.1s, background 0.1s;
}
.j7-tk .d {
  margin-right: 1px;
  color: #777;
}
.j7-tk:hover {
  background: #20202c;
  border-color: var(--c-acc);
  color: #fff;
}
.j7-tk:active {
  background: #2a2940;
}
.j7-tk.on {
  background: #231d30;
  border-color: #5e4b8b;
  color: #cdb6f7;
}
.j7-tk:hover .d,
.j7-tk.on .d {
  color: inherit;
}
.j7-tks.tight {
  gap: 3px;
}
.j7-tks.tight .j7-tk {
  padding: 0 3px;
  font-size: 9px;
  letter-spacing: -0.01em;
}
.j7-tks.tight .j7-tk .d {
  display: none;
}
.j7-lab.crowd .cnt {
  display: none;
}
.j7-tks.more-r {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 16px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 16px), transparent);
}
.j7-tks.more-l {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px);
  mask-image: linear-gradient(90deg, transparent, #000 16px);
}
.j7-tks.more-l.more-r {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent);
}

/* website / twitter */
.j7-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  gap: 8px;
}
.j7-col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.j7-twrow {
  min-width: 0;
  display: flex;
  gap: 5px;
}
.j7-twrow .j7-field {
  flex: 1 1 auto;
}
.j7-links .j7-in {
  padding: 0 9px;
  font-size: var(--fs);
}
.j7-post {
  flex: 0 0 auto;
  height: var(--fld);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0 9px;
  background: #343434;
  border: 1px solid #424242;
  border-radius: var(--r);
  color: #f2f2f2;
  font-size: 11px;
  font-weight: 700;
}
.j7-post > i {
  font-size: 12px;
}
.j7-post:hover {
  background: #3c3c3c;
}

.j7-seltitle {
  margin-top: 1px;
  text-align: center;
  color: #d6d6d6;
  font-size: var(--fs);
  font-weight: 500;
}

/* gallery */
.j7-gallery {
  min-height: var(--thumb);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.j7-thumb {
  position: relative;
  flex: 0 0 auto;
  width: var(--thumb);
  height: var(--thumb);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #111;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.07);
  transition: transform 0.1s;
}
.j7-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.j7-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid transparent;
  pointer-events: none;
  transition: border-color 0.1s, box-shadow 0.1s;
}
.j7-thumb:hover::after {
  border-color: #5a5a5a;
}
.j7-thumb.sel::after {
  border-color: var(--c-acc);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.5), inset 0 0 14px rgb(109 106 245 / 0.35);
}
.j7-thumb .ck {
  position: absolute;
  z-index: 1;
  left: 3px;
  bottom: 3px;
  width: 15px;
  height: 15px;
  display: none;
  place-items: center;
  border-radius: 50%;
  background: var(--c-acc);
  color: #fff;
  font-size: 10px;
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.6);
}
.j7-thumb.sel .ck {
  display: grid;
}
.j7-thumb .x {
  position: absolute;
  z-index: 2;
  top: 3px;
  right: 3px;
  width: 16px;
  height: 16px;
  display: none;
  place-items: center;
  border-radius: 50%;
  background: rgb(0 0 0 / 0.72);
  color: #fff;
  font-size: 10px;
}
.j7-thumb:hover .x {
  display: grid;
}
.j7-thumb .x:hover {
  background: var(--c-red);
}
.j7-thumb.pop {
  animation: j7-pop 0.32s cubic-bezier(0.2, 1.5, 0.45, 1);
}
.j7-thumb[data-kind="pfp"],
.j7-thumb[data-kind="quote"] {
  border-radius: 50%;
}
.j7-add {
  flex: 0 0 auto;
  width: var(--thumb);
  height: var(--thumb);
  display: grid;
  place-items: center;
  background: #111;
  border: 1px dashed #4a4a4a;
  border-radius: 8px;
  color: #d6d6d6;
  font-size: 20px;
}
.j7-add:hover {
  border-color: #8a8a8a;
  color: #fff;
}
.j7-noimg {
  margin-left: 4px;
  color: #a0a0a0;
  font-size: 11.5px;
}

/* image tools */
.j7-tools {
  display: flex;
  align-items: center;
  gap: 5px;
}
.j7-tool {
  flex: 0 0 auto;
  height: calc(var(--h) + 3px);
  min-width: calc(var(--h) + 3px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 7px;
  background: var(--c-btn);
  border: 1px solid var(--c-line);
  border-radius: 7px;
  color: #e6e6e6;
  font-size: 11.5px;
  font-weight: 700;
}
.j7-tool > i {
  font-size: 14.5px;
}
.j7-tool:hover {
  background: var(--c-btn-h);
}
.j7-tool .ext {
  font-size: 11px;
  color: #777;
}
.j7-tool.on {
  background: #22362a;
  border-color: #2f6b48;
  color: #a7f3c4;
}
.j7-tool.on .ext {
  color: #a7f3c4;
}
.j7-tool.dim {
  color: #686868;
}

/* launchpads */
.j7-plats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  background: #232323;
  border: 1px solid #111;
  border-radius: 9px;
}
.j7-plat {
  min-width: 0;
  height: var(--h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 4px;
  background: #2f2f2f;
  border: 1px solid #3a3a3a;
  border-radius: 7px;
  color: #d8d8d8;
  font-size: 11px;
  font-weight: 700;
}
.j7-plat > i {
  flex: 0 0 auto;
  font-size: 13.5px;
}
.j7-plat .lbl {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.j7-plat:hover {
  background: #363636;
}
.j7-plat.sel {
  background: #234d36;
  border-color: #3f7a55;
  color: #b7f7cf;
  box-shadow: inset 0 0 0 1px rgb(74 222 128 / 0.14);
}

/* config toggles: Dividends | Pair | quote chip / Fee Split | Bundle (2 columns) */
.j7-opts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}
.j7-opt {
  min-width: 0;
  height: var(--opt);
  display: flex;
  align-items: stretch;
  padding: 0;
  background: #2b2b2b;
  border: 1px solid #393939;
  border-radius: 7px;
  overflow: hidden;
  color: #858585;
  font-size: 11.5px;
  font-weight: 700;
}
.j7-opt:hover {
  border-color: #4c4c4c;
}
.j7-opt.wide {
  grid-column: span 2;
}
.j7-opt .ck {
  flex: 0 0 26px;
  width: 26px;
  display: grid;
  place-items: center;
  border-right: 1px solid #393939;
}
.j7-opt .sq {
  width: 12px;
  height: 12px;
  display: grid;
  place-items: center;
  border: 1px dashed #6b6b6b;
  border-radius: 2px;
}
.j7-opt .sq > i {
  font-size: 10px;
  line-height: 1;
}
.j7-opt .ck.badge {
  background: #333;
  color: #e6e6e6;
  font-size: 10.5px;
  font-weight: 700;
}
.j7-opt .lb {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0 5px;
  white-space: nowrap;
}
.j7-opt .lb > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.j7-opt .lb > i {
  display: none;
  font-size: 13.5px;
}
@container j7f (min-width: 360px) {
  .j7-opt .lb > i {
    display: inline-block;
  }
}
.j7-opt.on {
  border-color: #4a4a4a;
  color: #ededed;
}
.j7-opt.on .sq {
  border: 1px solid #cfcfcf;
  color: #fff;
}
.j7-opt.on.yellow {
  background: #39352d;
  border-color: #7a6a17;
}
.j7-opt.on.yellow .ck {
  background: #4a4220;
  border-right-color: #7a6a17;
}
.j7-opt.on.yellow .sq {
  border-color: var(--c-yellow);
  color: var(--c-yellow);
}
/* the pair-quote chip */
.j7-opt.pairsel .lb {
  gap: 4px;
  padding: 0 4px;
}
.j7-opt.pairsel .lb > i {
  display: inline-block;
  font-size: 13px;
}
.j7-opt.pairsel .lb > i.sw {
  margin-left: auto;
  font-size: 10px;
  color: #6f8796;
}
.j7-opt.pairsel .pn {
  letter-spacing: 0.03em;
}
.j7-opt.pairsel.on {
  background: #1b2a33;
  border-color: #2c5d78;
  color: #e0f2fe;
}
.j7-opt.pairsel.on .lb > i:first-child {
  color: #7dd3fc;
}
.j7-opt.pairsel.on[data-pair="tesla"] .lb > i:first-child {
  color: #fca5a5;
}
.j7-opt.pairsel.off {
  border-style: dashed;
  color: #6a6a6a;
}
.j7-opt.pairsel:hover {
  border-color: #3f7fa1;
}
/* Bundle cell */
.j7-opt.wide .lb {
  justify-content: flex-start;
  padding: 0 8px;
}
.j7-opt .bsum {
  margin-left: auto;
  padding-left: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #d4d4ff;
  font-variant-numeric: tabular-nums;
}
.j7-opt.wide.on {
  background: #25253a;
  border-color: #4746c4;
  color: #ededed;
}
.j7-opt.wide.on .ck.badge {
  background: #3a3970;
  color: #fff;
}

/* Block 0 bundle panel */
.j7-bdl {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 7px;
  background: #222230;
  border: 1px solid #3b3a6a;
  border-radius: 8px;
  color: #cfcfe6;
  font-size: 11px;
}
.j7-bdl.err {
  border-color: #6b3a3d;
}
.j7-bdl.shake {
  animation: j7-shake 0.32s ease-in-out;
}
.bd-h {
  display: flex;
  align-items: center;
  gap: 5px;
}
.bd-h > i {
  font-size: 13px;
  color: #a5a3ff;
}
.bd-h .t {
  color: #bdbdf0;
  font-size: var(--lab);
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}
.bd-h .bd-tot {
  display: none;
}
.bd-more {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: #a3a3c8;
  font-size: 14px;
}
.bd-more:hover {
  background: #2e2e48;
  color: #fff;
}
.bd-r {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}
.bd-r .x {
  color: #8e8eb0;
}
.bd-step {
  height: 22px;
  display: inline-flex;
  align-items: center;
  background: #1a1a26;
  border: 1px solid #3b3a6a;
  border-radius: 6px;
  overflow: hidden;
}
.bd-step button {
  width: 20px;
  height: 100%;
  display: grid;
  place-items: center;
  color: #b5b5d8;
  font-size: 12px;
}
.bd-step button:hover {
  background: #2e2e48;
  color: #fff;
}
.bd-n {
  min-width: 16px;
  text-align: center;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.bd-amt {
  height: 22px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding-right: 5px;
  background: var(--c-in);
  border: 1px solid var(--c-in-b);
  border-radius: 6px;
}
.bd-in {
  width: 42px;
  height: 100%;
  padding: 0 0 0 6px;
  background: transparent;
  border: 0;
  outline: 0;
  border-radius: 5px;
  color: #fff;
  font: 700 11.5px/1 var(--font-j7);
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}
.bd-in::-webkit-outer-spin-button,
.bd-in::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.bd-in:focus {
  box-shadow: 0 0 0 1px #4a4a58, 0 0 0 1px rgb(109 106 245 / 0.35);
}
.bd-list {
  max-height: 140px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow-y: auto;
}
.bd-w {
  height: 22px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bd-w .dot {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #3b3a6a;
  font-size: 9px;
}
.bd-w .nm {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #dcdcf0;
}
.bd-w .bal {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #8e8eb0;
  font-variant-numeric: tabular-nums;
}
.bd-w .bal[hidden] {
  display: none;
}
.bd-w .bal b {
  font-weight: 500;
}
.bd-w .bal.low {
  color: #ff7b7f;
}
.bd-w .bd-in {
  width: 46px;
  height: 20px;
  padding: 0 5px;
  background: var(--c-in);
  border-radius: 5px;
  text-align: right;
}
.bd-w.own .bd-in {
  color: #c4c2ff;
}
.bd-msg {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #8e8eb0;
  font-size: 10.5px;
}
.bd-msg:empty {
  display: none;
}
.bd-msg.err {
  color: #ff7b7f;
}
.bd-msg > i {
  margin-right: 3px;
}

/* dev-buy presets */
.j7-buys {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr)) calc(var(--h) + 3px);
  gap: 5px;
}
.j7-buy {
  min-width: 0;
  height: calc(var(--h) + 3px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #2a2a2a;
  border: 1px solid #393939;
  border-radius: 7px;
  color: #ededed;
  font-size: var(--fs);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.j7-buy:hover {
  background: #323232;
}
.j7-buy.sel {
  background: #2a2a3e;
  border-color: var(--c-acc);
  box-shadow: inset 0 0 0 1px rgb(109 106 245 / 0.35);
}
.j7-buy.edit {
  color: #a3a3a3;
  font-size: 12.5px;
}
.j7-buy.ed {
  gap: 2px;
  padding-left: 5px;
  background: var(--c-in);
  border-color: #4a4a58;
  cursor: text;
}
.j7-buy.ed:focus-within {
  border-color: var(--c-acc);
  box-shadow: 0 0 0 1px rgb(109 106 245 / 0.35);
}
.j7-buyin {
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: 0 3px 0 0;
  background: transparent;
  border: 0;
  outline: 0;
  color: #fff;
  font: inherit;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.j7-buyin::-webkit-outer-spin-button,
.j7-buyin::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.j7-buy.edit.save {
  background: #3b3a86;
  border-color: var(--c-acc);
  color: #fff;
}
.j7-buy.edit.save:hover {
  background: #4746a6;
}

/* deploy bar: sticky at the bottom of the form scroller, bleeding to its edges */
.j7-dbar {
  position: sticky;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0 calc(var(--px) * -1);
  padding: 6px var(--px) 3px;
  background: var(--c-form);
  box-shadow: 0 -12px 14px -12px rgb(0 0 0 / 0.8);
}
.j7-drow {
  display: flex;
  align-items: stretch;
  gap: 5px;
}
/* LTR / SOL / ASC quick pictures */
.j7-adv {
  flex: 0 0 auto;
  height: var(--fld);
  display: flex;
  border: 1px solid #4746c4;
  border-radius: 7px;
  overflow: hidden;
}
.j7-adv button {
  padding: 0 6px;
  background: #23233a;
  color: #8381f8;
  font-size: 10.5px;
  font-weight: 700;
}
.j7-adv button + button {
  border-left: 1px solid #4746c4;
}
.j7-adv button:hover {
  background: #2d2c4d;
  color: #b3b2ff;
}
/* Deploy */
.j7-deploy {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  height: var(--fld);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow: hidden;
  white-space: nowrap;
  background: #2c2c2c;
  border: 1px solid #3d3d3d;
  border-radius: 8px;
  color: #7a7a7a;
  font-size: calc(var(--fs) + 1px);
  font-weight: 700;
  transition: color 0.12s, background-color 0.12s, border-color 0.12s, box-shadow 0.12s, transform 0.12s;
}
.j7-deploy > i {
  font-size: 15px;
}
.j7-deploy .kb {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #666;
  font-size: 0.86em;
  font-weight: 500;
}
.j7-deploy .b0 {
  color: #9d9bf0;
  font-size: 0.86em;
  font-variant-numeric: tabular-nums;
}
.j7-deploy .dn {
  margin-left: -2px;
  padding: 1px 5px;
  border-radius: 5px;
  background: rgb(181 140 245 / 0.16);
  color: #d9c2fb;
  font-size: 0.82em;
  font-variant-numeric: tabular-nums;
}
.j7-deploy .b0:empty,
.j7-deploy .dn:empty {
  display: none;
}
.j7-deploy.ready {
  background: linear-gradient(180deg, #3a3a3a, #2e2e2e);
  border-color: #5a5a5a;
  color: #fff;
}
.j7-deploy.ready > i {
  color: #c4c2ff;
}
.j7-deploy.ready .kb {
  color: #9a9a9a;
}
.j7-deploy.ready:hover {
  border-color: var(--c-acc);
  box-shadow: 0 0 0 1px rgb(109 106 245 / 0.35), 0 0 16px rgb(109 106 245 / 0.18);
}
.j7-deploy:active {
  transform: translateY(1px);
}
.j7-deploy.spent,
.j7-deploy.spent.ready {
  background: #262626;
  border-color: #343434;
  color: #6f6f6f;
  box-shadow: none;
  cursor: not-allowed;
}
.j7-deploy.spent > i {
  color: #6f6f6f;
}
.j7-deploy.spent .dn {
  background: #2f2f2f;
  color: #8a8a8a;
}
/* same specificity, in this order: the later animation wins when the classes overlap */
.j7-deploy.shake {
  animation: j7-shake 0.32s ease-in-out;
  border-color: var(--c-red);
}
.j7-deploy.busy {
  background-image: repeating-linear-gradient(-45deg, rgb(109 106 245 / 0.2) 0 8px, transparent 8px 16px);
  background-size: 200% 100%;
  animation: j7-busy 1s linear infinite;
}
.j7-deploy.fired {
  animation: j7-fired 0.5s ease-out, j7-busy 1s linear infinite;
}
.j7-deploy.landed {
  animation: j7-landed 1.2s ease-out;
}
/* Deploy sizes (root data-dsize) */
.j7[data-dsize="large"] .j7-drow {
  align-items: center;
}
.j7[data-dsize="large"] .j7-deploy {
  height: calc(var(--fld) + 10px);
  font-size: calc(var(--fs) + 2.5px);
}
.j7[data-dsize="large"] .j7-deploy > i {
  font-size: 17px;
}
.j7[data-dsize="xl"] .j7-drow {
  flex-wrap: wrap;
  justify-content: flex-end;
  row-gap: 5px;
}
.j7[data-dsize="xl"] .j7-deploy {
  order: 2;
  flex: 1 1 100%;
  height: calc(var(--fld) + 22px);
  border-radius: 9px;
  font-size: calc(var(--fs) + 5px);
}
.j7[data-dsize="xl"] .j7-deploy > i {
  font-size: 20px;
}
.j7[data-dsize="xl"] .j7-drow .j7-deploy span.kb {
  display: inline !important; /* shown even in the compact form and with the hotkey off */
}
/* deploy counter and gear */
.j7-num {
  flex: 0 0 auto;
  height: var(--fld);
  padding: 0 9px;
  background: var(--c-btn);
  border: 1px solid var(--c-line);
  border-radius: 7px;
  color: #d6d6d6;
  font-size: 11.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.j7-num:hover {
  background: var(--c-btn-h);
}
.j7-num.bump {
  animation: j7-pop 0.4s cubic-bezier(0.2, 1.6, 0.4, 1);
  color: var(--c-green);
}
.j7-ib.dgear {
  width: var(--fld);
  height: var(--fld);
  color: #a3a3a3;
  font-size: 14px;
}
.j7-ib.dgear:hover {
  color: #fff;
}

/* status line */
.j7-srow {
  min-height: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.j7-status {
  flex: 1 1 0;
  min-width: 0;
  height: 16px;
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  white-space: nowrap;
  color: #7d7d7d;
  font-size: 11px;
}
.j7-status > i {
  flex: 0 0 auto;
  display: inline-block;
  font-size: 12.5px;
}
.j7-status > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.j7-status.busy {
  color: #a5a3ff;
}
.j7-status.busy > i {
  animation: j7-spin 0.8s linear infinite;
}
.j7-status.ok {
  color: var(--c-green);
  font-weight: 500;
}
.j7-status.err {
  color: #ff7b7f;
  font-weight: 500;
}
.j7-srow:has(.j7-live.show) .j7-status {
  flex: 0 0 auto;
}
.j7-srow:has(.j7-live.show) .j7-status > span {
  display: none; /* only the icon: the text stays in the tooltip */
}

/* "your coin, live" chip: trailing items wrap onto an invisible second line instead of truncating */
.j7-live {
  flex: 0 1 auto;
  max-width: 100%;
  height: 22px;
  display: none;
  align-items: center;
  gap: 6px;
  padding: 0 9px 0 2px;
  overflow: hidden;
  background: #1c1c1c;
  border: 1px solid #3a3a3a;
  border-radius: 999px;
  color: #d8d8d8;
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.j7-live.show {
  display: inline-flex;
  flex-wrap: wrap;
  align-content: flex-start;
  row-gap: 4px;
  min-width: min-content;
  animation: j7-pop 0.35s cubic-bezier(0.2, 1.6, 0.4, 1);
}
.j7-live > * {
  flex: 0 0 auto;
  line-height: 20px;
}
.j7-live img {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  object-fit: cover;
}
.j7-live .tk {
  color: #bdbdbd;
}
.j7-live .mc {
  color: #fff;
  font-weight: 700;
}
.j7-live .chg {
  color: #9a9a9a;
}
.j7-live .chg.tick {
  animation: j7-bump 0.45s ease-out;
}
.j7-live .pnl {
  color: var(--c-green);
  font-weight: 700;
}
.j7-live .pnl:empty {
  display: none;
}
.j7-live .pnl.neg {
  color: #ff7b7f;
}
.j7-live:hover {
  border-color: #5a5a5a;
}
.j7-live.up .chg {
  color: var(--c-green);
}
.j7-live.down .chg {
  color: #ff7b7f;
}
.j7-live.big {
  background: #15271c;
  border-color: #2f7a4d;
  box-shadow: 0 0 12px rgb(74 222 128 / 0.22);
}
.j7-live.huge {
  background: linear-gradient(90deg, #143020, #1d4430);
  border-color: var(--c-green);
  animation: j7-glow 1.1s ease-in-out infinite alternate;
}
.j7-live.huge .chg,
.j7-live.huge .pnl {
  color: #bbf7d0;
}

/* image search */
.j7-isearch {
  height: calc(var(--h) + 4px);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  background: var(--c-in);
  border: 1px solid var(--c-in-b);
  border-radius: var(--r);
  color: #9a9a9a;
}
.j7-isearch > i {
  font-size: 13.5px;
}
.j7-isearch .j7-in {
  padding: 0;
  font-size: var(--fs);
}
.j7-isearch button {
  display: grid;
  place-items: center;
  color: #8a8a8a;
}
.j7-isearch button:hover {
  color: #fff;
}
.j7-isr {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.j7-isr:empty {
  display: none;
}
.j7-isr-i {
  width: 44px;
  height: 44px;
  padding: 0;
  overflow: hidden;
  background: #111;
  border: 1px solid #3a3a3a;
  border-radius: 7px;
}
.j7-isr-i img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.j7-isr-i:hover {
  border-color: var(--c-acc);
}

/* ---------------------------------------------------------------------------------------------------------
   Form-width breakpoints (container j7f)
   --------------------------------------------------------------------------------------------------------- */
@container j7f (min-width: 620px) {
  .j7-plats {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }
}
@container j7f (min-width: 380px) {
  .j7-adv button {
    padding: 0 7px;
    font-size: 11px;
  }
  .j7-chip {
    height: 26px;
    padding: 0 9px;
    font-size: 12px;
  }
  .j7-chip.sq {
    width: 29px;
    padding: 0;
  }
  .j7-plat,
  .j7-opt {
    font-size: 12px;
  }
}
@container j7f (max-width: 379.98px) {
  .j7-lab {
    font-size: 9.5px;
    letter-spacing: 0.04em;
  }
  .j7-cbs {
    gap: 7px;
  }
  .j7-cb {
    gap: 3px;
    letter-spacing: 0.02em;
  }
  .j7-chip {
    padding: 0 6px;
    font-size: 11px;
  }
  .j7-chip.sq {
    width: 25px;
    padding: 0;
  }
  .j7-plats {
    gap: 3px;
  }
  .j7-plat {
    padding: 0 3px;
    font-size: 10.5px;
  }
  .j7-plat > i {
    font-size: 12.5px;
  }
  .j7-ib.lg {
    display: none;
  }
  .j7-tks {
    gap: 3px;
  }
  .j7-tk {
    padding: 0 4px;
  }
  .j7-tk .d {
    display: none;
  }
}
@container j7f (max-width: 359.98px) {
  .j7-opt .lb {
    padding: 0 3px;
  }
}
@container j7f (max-width: 339.98px) {
  .j7-tool {
    padding: 0 6px;
  }
  .j7-tool .ext {
    display: none;
  }
}
/* compact form (the default 430 px panel gives a ~231 px column) */
@container j7f (max-width: 299.98px) {
  .j7-fhead {
    gap: 3px;
  }
  .j7-fhead:has(.j7-vtag:not([hidden])) .j7-wallet > i {
    display: none;
  }
  .j7-wallet {
    gap: 3px;
    padding: 0 6px;
    font-size: 11px;
  }
  .j7-wallet .wn {
    display: none;
  }
  .j7-ib {
    border-radius: 6px;
    font-size: 13px;
  }
  .j7-lab {
    gap: 4px;
    letter-spacing: 0.02em;
  }
  .j7-cbs {
    flex: 1 1 100%;
    flex-wrap: wrap;
    gap: 3px 7px;
    margin-left: 0;
    font-size: 8.5px;
  }
  .j7-cb .box {
    width: 11px;
    height: 11px;
  }
  .j7-in {
    padding: 0 8px;
  }
  .j7-jp {
    padding: 0 5px 0 3px;
    font-size: 9px;
  }
  .j7-presets {
    gap: 3px;
  }
  .j7-chip {
    height: 22px;
    padding: 0 5px;
    font-size: 10.5px;
  }
  .j7-chip.sq {
    width: 22px;
    padding: 0;
  }
  .j7-links {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 5px;
  }
  .j7-col {
    gap: 3px;
  }
  .j7-links .j7-in {
    padding: 0 7px;
    font-size: 11px;
  }
  .j7-twrow {
    gap: 3px;
  }
  .j7-post {
    padding: 0 6px;
  }
  .j7-post span {
    display: none;
  }
  .j7-seltitle {
    font-size: 11.5px;
  }
  .j7-gallery {
    flex-wrap: nowrap;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .j7-gallery::-webkit-scrollbar {
    display: none;
  }
  .j7-tools {
    gap: 3px;
  }
  .j7-tool {
    height: calc(var(--h) + 2px);
    min-width: calc(var(--h) + 2px);
    padding: 0 4px;
    border-radius: 6px;
    font-size: 10.5px;
  }
  .j7-tool > i {
    font-size: 13px;
  }
  .j7-tool.panel .lbl,
  .j7-tool .ext {
    display: none;
  }
  .j7-plats {
    gap: 2px;
    padding: 2px;
    border-radius: 8px;
  }
  .j7-plat {
    gap: 1px;
    padding: 0;
    border-radius: 6px;
    font-size: 9.5px;
    letter-spacing: -0.025em;
  }
  .j7-plat > i {
    font-size: 9.5px;
  }
  .j7-plat .lbl {
    text-overflow: clip;
  }
  .j7-opts {
    gap: 3px;
  }
  .j7-opt {
    border-radius: 6px;
    font-size: 9.5px;
  }
  .j7-opt .ck {
    flex-basis: 17px;
    width: 17px;
  }
  .j7-opt .lb {
    gap: 2px;
    padding: 0 2px;
  }
  .j7-opt.pairsel .lb {
    gap: 3px;
    padding: 0 3px;
  }
  .j7-opt.pairsel .lb > i {
    font-size: 11px;
  }
  .j7-opt.pairsel .lb > i.sw {
    display: none;
  }
  .j7-opt.wide .lb {
    gap: 4px;
    padding: 0 6px;
  }
  .j7-opt.wide .lb > i {
    display: inline-block;
    font-size: 11px;
  }
  .j7-bdl {
    gap: 4px;
    padding: 5px 6px;
    font-size: 10px;
  }
  .bd-r {
    gap: 4px;
  }
  .bd-step,
  .bd-amt {
    height: 20px;
  }
  .bd-step button {
    width: 17px;
  }
  .bd-amt .bd-in {
    width: 34px;
    padding-left: 4px;
    font-size: 10.5px;
  }
  .j7-ib.dgear {
    width: var(--h);
  }
  .j7-buys {
    grid-template-columns: repeat(5, minmax(0, 1fr)) var(--h);
    gap: 3px;
  }
  .j7-buy {
    gap: 2px;
    border-radius: 6px;
    font-size: 11px;
  }
  .j7-buy .j7-sol {
    width: 9px;
  }
  .j7-drow {
    gap: 4px;
  }
  .j7-adv button {
    padding: 0 4px;
    font-size: 9px;
  }
  .j7-deploy {
    gap: 4px;
    border-radius: 7px;
    font-size: 12px;
  }
  .j7-deploy > i {
    font-size: 13px;
  }
  .j7-deploy .kb {
    display: none;
  }
  .j7-num {
    padding: 0 6px;
    font-size: 10.5px;
  }
  .j7-status {
    font-size: 10px;
  }
  .j7-isearch {
    padding: 0 8px;
  }
}
@container j7f (max-width: 229.98px) {
  .j7-adv {
    display: none;
  }
  .bd-r .x:last-child {
    display: none;
  }
}

/* ---------------------------------------------------------------------------------------------------------
   4.7 Popovers (machinery: base look, header, switch row; pieces used by part b's contents)
   --------------------------------------------------------------------------------------------------------- */
.tx-pop.j7-pop {
  min-width: 180px;
  max-width: 300px;
  padding: 6px;
  background: #1e1e1e;
  border: 1px solid #3a3a3a;
  border-radius: 9px;
  box-shadow: 0 14px 36px rgb(0 0 0 / 0.6);
  color: #ececec;
  font-family: var(--font-j7);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}
.tx-pop.j7-pop.wide {
  width: 290px;
  max-width: calc(100vw - 16px);
}
.j7-pop-h {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 5px 7px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.j7-pop-h > i {
  font-size: 14px;
  color: #a5a3ff;
}
.j7-pop-h > span:first-of-type {
  flex: 1 1 auto;
  min-width: 0;
}
.j7-sw {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 7px;
  border-radius: 6px;
  text-align: left;
}
.j7-sw:hover {
  background: #262626;
}
.j7-sw .sw-t {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.j7-sw .sw-t b {
  color: #e6e6e6;
  font-size: 12px;
  font-weight: 500;
}
.j7-sw .sw-t small {
  color: #7b7b7b;
  font-size: 10.5px;
}
.j7-sw .sw-k {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 16px;
  border-radius: 99px;
  background: #3a3a3a;
  transition: background 0.12s;
}
.j7-sw .sw-k > i {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #bdbdbd;
  transition: transform 0.12s, background 0.12s;
}
.j7-sw.on .sw-k {
  background: #6366f1;
}
.j7-sw.on .sw-k > i {
  transform: translateX(12px);
  background: #fff;
}
.j7-prow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 7px 4px;
  color: #d6d6d6;
  font-size: 12px;
}
.j7-prow > span:first-child {
  flex: 1 1 auto;
  font-weight: 500;
}
.j7-prow .v {
  width: 34px;
  text-align: right;
  color: #a5a3ff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.j7-range {
  width: 110px;
  accent-color: #6366f1;
}
.j7-seg {
  display: inline-flex;
  border: 1px solid #3a3a3a;
  border-radius: 6px;
  overflow: hidden;
}
.j7-seg button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 9px;
  color: #bdbdbd;
  font-size: 11.5px;
  font-weight: 500;
}
.j7-seg button + button {
  border-left: 1px solid #3a3a3a;
}
.j7-seg button.on {
  background: #6366f1;
  color: #fff;
}
.j7-mi {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 6px;
  color: #dcdcdc;
  font-size: 12px;
  text-align: left;
}
.j7-mi:hover {
  background: #2b2b2b;
  color: #fff;
}
.j7-mi > i {
  font-size: 14px;
  color: #a3a3a3;
}
.j7-psep {
  height: 1px;
  margin: 6px 4px;
  background: #333;
}
.j7-psub {
  padding: 0 5px 8px;
  color: #8a8a8a;
  font-size: 11px;
}
.j7-psub.foot {
  margin-top: 6px;
  padding: 8px 7px 2px;
  border-top: 1px solid #2c2c2c;
  color: #747474;
  font-size: 10.5px;
}
.j7-pbtn {
  width: 100%;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: #6366f1;
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.j7-pbtn:hover {
  background: #7476f5;
}
.j7-pbtn:disabled {
  opacity: 0.6;
  cursor: progress;
}
.j7-pin {
  display: block;
  width: 100%;
  margin-bottom: 6px;
  padding: 7px 9px;
  background: #141414;
  border: 1px solid #333;
  border-radius: 6px;
  outline: 0;
  color: #ececec;
  font-size: 12px;
  resize: vertical;
}
.j7-pin:focus {
  border-color: #4a4a58;
}
.j7-pin:disabled {
  color: #666;
}
/* hotkey capture (Deploy settings) */
.j7-key {
  min-width: 64px;
  height: 26px;
  padding: 0 10px;
  background: #141414;
  border: 1px solid #3a3a3a;
  border-bottom-width: 2px;
  border-radius: 6px;
  color: #ececec;
  font: 700 11.5px/1 var(--font-mono);
  white-space: nowrap;
}
.j7-key:hover {
  border-color: #5a5a5a;
}
.j7-key.listen {
  background: #1d1d2c;
  border-color: #6d6af5;
  color: #c4c2ff;
  animation: j7-listen 1s ease-in-out infinite alternate;
}
.j7-link {
  padding: 0 2px;
  color: #8a8a8a;
  font-size: 11px;
}
.j7-link:hover {
  color: #fff;
}
.j7-keymsg {
  padding: 0 7px 4px;
  color: #8a8a8a;
  font-size: 10.5px;
}
.j7-keymsg:empty {
  display: none;
}
.j7-keymsg.err {
  color: #ff7b7f;
}
.j7-keymsg.ok {
  color: #4ade80;
}

/* ---------------------------------------------------------------------------------------------------------
   4.6 Animations
   --------------------------------------------------------------------------------------------------------- */
@keyframes j7-filled {
  from {
    background: #1d1726;
    box-shadow: 0 0 0 2px rgb(168 85 247 / 0.75), 0 0 16px rgb(168 85 247 / 0.35);
  }
  to {
    box-shadow: 0 0 0 0 rgb(168 85 247 / 0), 0 0 0 rgb(168 85 247 / 0);
  }
}
@keyframes j7-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-3px);
  }
  75% {
    transform: translateX(3px);
  }
}
@keyframes j7-pop {
  0% {
    transform: scale(0.7);
  }
  60% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes j7-busy {
  to {
    background-position: 45px 0;
  }
}
@keyframes j7-fired {
  from {
    box-shadow: 0 0 0 0 rgb(109 106 245 / 0.85);
  }
  to {
    box-shadow: 0 0 0 12px rgb(109 106 245 / 0);
  }
}
@keyframes j7-landed {
  0% {
    background: #1d4a2e;
    border-color: #4ade80;
    color: #dcfce7;
    box-shadow: 0 0 0 2px rgb(74 222 128 / 0.8), 0 0 24px rgb(74 222 128 / 0.55);
  }
  60% {
    border-color: #4ade80;
  }
  100% {
    box-shadow: 0 0 0 14px rgb(74 222 128 / 0), 0 0 0 rgb(74 222 128 / 0);
  }
}
@keyframes j7-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes j7-glow {
  from {
    box-shadow: 0 0 8px rgb(74 222 128 / 0.25);
  }
  to {
    box-shadow: 0 0 20px rgb(74 222 128 / 0.6);
  }
}
@keyframes j7-bump {
  from {
    transform: scale(1.35);
    text-shadow: 0 0 8px rgb(74 222 128 / 0.8);
  }
  to {
    transform: none;
    text-shadow: none;
  }
}
@keyframes j7-listen {
  from {
    box-shadow: 0 0 0 0 rgb(109 106 245 / 0.2);
  }
  to {
    box-shadow: 0 0 0 3px rgb(109 106 245 / 0.35);
  }
}
@media (prefers-reduced-motion: reduce) {
  .j7 *,
  .j7 *::before,
  .j7 *::after,
  .j7-zoom,
  .j7-zoom * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

/* ---- src/css/j7/b.css ---- */
/* TX Arena: J7 panel, part 2 of 2 (docs/specs/j7-b.md §4; CONTRACT 3.4 / 3.5). Assembled into public/css/j7.css
   after src/css/j7/a.css. Tweet feed and cards (densities by feed width), the "Paused" / "new tweets" pill, the
   stacked split bar, the hover zoom, the footer, every J7 popover and the vamp mark. The panel tokens, the body grid
   and the shared popover pieces are described by both J7 specs; the copies here use the same values on purpose.
   Popovers live in <body>, outside .j7, so their rules use literal colours (the .j7 tokens are not defined there;
   that is also why a .j7-simchip inside a popover has no background, as in the original). */

/* ---------------------------------------------------------------------------------------------------------
   4.1 Tokens and shared settings (on .j7)
   --------------------------------------------------------------------------------------------------------- */
.j7 {
  --c-top: #181818;
  --c-form: #282828;
  --c-feed: #181818;
  --c-card: #2a2a2a;
  --c-card-b: #343434;
  --c-btn: #2d2d2d;
  --c-btn-h: #363636;
  --c-line: #3b3b3b;
  --c-in: #161616;
  --c-in-b: #0c0c0c;
  --c-tx: #ececec;
  --c-tx-2: #a8a8a8;
  --c-tx-3: #6e6e6e;
  --c-acc: #6d6af5;
  --c-hl: #8545c5;
  --c-hl-bg: #221f27;
  --c-pink: #f25ca9;
  --c-blue: #3b9ce6;
  --c-green: #4ade80;
  --c-yellow: #eab308;
  --c-red: #e5484d;
  container: j7 / inline-size;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--c-top);
  color: var(--c-tx);
  font-family: var(--font-j7);
  font-size: 12px;
  line-height: 1.35;
}
.j7 button {
  -webkit-user-select: none;
  user-select: none;
}
.j7 .sp {
  flex: 1 1 auto;
}
.j7 button:focus-visible {
  outline: 1px solid var(--c-acc);
  outline-offset: 1px;
}
.j7-pop button:focus-visible {
  outline: 1px solid #6d6af5;
  outline-offset: 1px;
}
.j7-simchip {
  display: inline-block;
  font-weight: 700;
  font-size: 8.5px;
  line-height: 1;
  letter-spacing: 0.07em;
  padding: 2px 4px;
  border-radius: 3px;
  background: var(--c-acc);
  color: #fff;
}

/* ---------------------------------------------------------------------------------------------------------
   4.2 Body layout (form | feed)
   --------------------------------------------------------------------------------------------------------- */
.j7-body {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 27fr) minmax(0, 23fr);
  grid-template-rows: minmax(0, 1fr);
  gap: 1px;
  background: #0b0b0b;
  transition:
    grid-template-columns 0.26s cubic-bezier(0.3, 0.7, 0.2, 1),
    grid-template-rows 0.26s cubic-bezier(0.3, 0.7, 0.2, 1);
}
.j7-form {
  transition:
    opacity 0.18s ease 0.06s,
    visibility 0s;
}
.j7.noform .j7-body {
  grid-template-columns: minmax(0, 0fr) minmax(0, 23fr);
  gap: 0;
}
.j7.noform .j7-form {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.1s ease,
    visibility 0s linear 0.26s;
}
.j7.instant .j7-body,
.j7.instant .j7-form {
  transition: none !important;
}
/* without the form nothing on a card writes into it */
.j7.noform .tw-deploy,
.j7.noform .tw-vamp,
.j7.noform .tw-icons [data-act="ocr"] {
  display: none;
}
.j7.noform .tw-hl {
  cursor: text;
}
.j7.noform .tw-hl:hover {
  background: #f25ca9;
}

/* ---------------------------------------------------------------------------------------------------------
   4.3 Feed
   --------------------------------------------------------------------------------------------------------- */
.j7-feedwrap {
  container: j7feed / inline-size;
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 0;
  background: var(--c-feed);
}
.j7-feed {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overflow-anchor: none;
  overscroll-behavior: contain;
}
.j7-feed-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 6px 6px 12px;
}

/* the "Paused · N new" / "↑ N new tweets" pill */
.j7-pill {
  position: absolute;
  top: 2px;
  left: 50%;
  z-index: 4;
  transform: translate(-50%, -3px);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 19px;
  max-width: calc(100% - 12px);
  padding: 0 9px;
  border-radius: 999px;
  background: var(--c-acc);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.45);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.12s,
    transform 0.12s;
}
.j7-pill i {
  font-size: 12px;
}
.j7-pill.show {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.j7-pill.paused {
  background: rgb(24 24 24 / 0.86);
  color: #d6d6d6;
  border: 1px solid #464646;
  font-weight: 500;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.j7-pill.paused i {
  color: #a5a3ff;
}
.j7-pill.paused .n {
  color: #fff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.j7-pill.paused.has {
  pointer-events: auto;
  border-color: #5a59a8;
}
.j7-pill.paused.has:hover {
  background: rgb(36 36 52 / 0.92);
}

/* ---- cards ---- */
.j7-tw {
  position: relative;
  flex: 0 0 auto;
  min-width: 0;
  background: var(--c-card);
  border: 1px solid var(--c-card-b);
  border-radius: 9px;
  padding: 0 9px 9px;
}
.j7-tw:hover {
  border-color: #3f3f3f;
}
/* after the hover rule (same specificity): a watched card keeps its purple border on hover */
.j7-tw.hl {
  background: #221f27;
  border: 1.5px solid #8545c5;
  box-shadow: 0 8px 26px -14px rgb(133 69 197 / 0.7);
}
/* no fade-in or slide: a card is fully visible in the frame it is inserted; only a glow decays */
.j7-tw.fresh {
  animation: j7-fresh 1.3s ease-out;
}
.j7-tw.hl.fresh {
  animation: j7-fresh-hl 2s ease-out;
}
.j7-tw.picked {
  animation: j7-picked 0.7s ease-out;
}
@keyframes j7-fresh {
  from {
    box-shadow:
      0 0 0 1px rgb(255 255 255 / 0.22),
      0 0 14px rgb(255 255 255 / 0.08);
  }
  to {
    box-shadow: none;
  }
}
@keyframes j7-fresh-hl {
  from {
    box-shadow:
      0 0 0 2px rgb(168 85 247 / 0.8),
      0 0 28px rgb(168 85 247 / 0.55);
  }
  to {
    box-shadow: 0 8px 26px -14px rgb(133 69 197 / 0.7);
  }
}
@keyframes j7-picked {
  from {
    box-shadow:
      0 0 0 2px rgb(109 106 245 / 0.9),
      0 0 22px rgb(109 106 245 / 0.45);
  }
  to {
    box-shadow: none;
  }
}

/* head: avatar | name, time / handle, followers | Vamp | DEPLOY */
.tw-head {
  display: flex;
  align-items: stretch;
  gap: 0;
  min-width: 0;
  min-height: 50px;
  border-bottom: 1px solid #383838;
}
.j7-tw.hl .tw-head {
  border-bottom-color: #3a2d48;
}
.tw-av {
  flex: 0 0 auto;
  align-self: center;
  width: 32px;
  height: 32px;
  margin-right: 8px;
  border-radius: 50%;
  object-fit: cover;
  background: #333;
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.06);
}
.tw-who {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1px;
  min-width: 0;
  padding-right: 6px;
}
.tw-l1 {
  display: flex;
  align-items: center;
  gap: 3px;
  min-width: 0;
}
.tw-name {
  min-width: 0;
  font-weight: 700;
  font-size: 12.5px;
  color: #f0f0f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.j7-tw.hl .tw-name {
  color: #b06cf3;
}
.tw-badge {
  flex-shrink: 0;
  font-size: 12.5px;
  color: #1d9bf0;
}
.tw-badge.gold {
  color: #e5b53b;
}
.tw-time {
  font-size: 10px;
  color: #6a6a6a;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tw-time.h {
  display: none;
  margin-left: 6px;
}
.tw-time.a {
  flex-shrink: 0;
  margin-left: 2px;
}
.tw-l2 {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  font-size: 10.5px;
  color: #7b7b7b;
  white-space: nowrap;
  overflow: hidden;
}
.tw-l2 i {
  font-size: 11px;
}
.tw-handle {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.j7-tw.hl .tw-handle {
  color: #9b6fd0;
}
.tw-fol {
  color: #a5a5a5;
  font-weight: 500;
}
.tw-dot,
.tw-l2 i,
.tw-fol {
  display: none;
}
.tw-vamp {
  flex-shrink: 0;
  width: 30px;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: #858585;
  border-left: 1px solid #383838;
  border-right: 1px solid #383838;
}
.j7-tw.hl .tw-vamp {
  border-color: #3a2d48;
}
.tw-vamp:hover {
  color: #fff;
  background: rgb(255 255 255 / 0.04);
}
.tw-deploy {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 0 10px;
  margin-right: -9px;
  border-radius: 0 8px 0 0;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #f2f2f2;
  transition:
    background-color 0.1s,
    color 0.1s;
}
.tw-deploy i {
  font-size: 14px;
}
.tw-deploy:hover {
  background: #343434;
  color: #fff;
}
.j7-tw.hl .tw-deploy:hover {
  background: #33264a;
}
.tw-deploy:active {
  background: #3b3b3b;
}
.j7-tw.hl .tw-deploy:active {
  background: #45305f;
}

/* actions row: only the spacer and the context shrink, so a narrow row clips its end */
.tw-acts {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 7px 0 6px;
  color: #8a8a8a;
  overflow: hidden;
}
.tw-del {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  border-radius: 3px;
  background: #c23b36;
  color: #ffdcd8;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.06em;
}
.tw-del i {
  font-size: 11px;
}
.tw-ctx {
  flex: 0 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 10.5px;
  color: #8a8a8a;
  white-space: nowrap;
  overflow: hidden;
}
.tw-ctx span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tw-ctx.r .who,
.tw-ctx.q span {
  display: none;
}
.tw-icons {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.tw-icons button {
  font-size: 13.5px;
  line-height: 1;
  color: #828282;
  transition: color 0.1s;
}
.tw-icons button:hover {
  color: #e6e6e6;
}

/* body: rich text, media box, quote */
.tw-text {
  font-size: 13px;
  line-height: 1.45;
  color: #ececec;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  -webkit-user-select: text;
  user-select: text;
  cursor: text;
}
.tw-hl {
  background: #f25ca9;
  color: #1a0f17;
  border-radius: 4px;
  padding: 0 3px;
  font-weight: 500;
  cursor: pointer;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-color 0.1s;
}
.tw-hl:hover {
  background: #ff7cc0;
}
.tw-link {
  color: #3b9ce6;
}
.tw-media {
  position: relative;
  container-type: inline-size;
  width: 100%;
  max-width: 440px;
  margin-top: 8px;
  border-radius: 12px;
  overflow: hidden;
  cursor: zoom-in;
  background-color: #1d1d1d;
  background-image: linear-gradient(110deg, #1d1d1d 30%, #262626 50%, #1d1d1d 70%);
  background-size: 200% 100%;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06);
}
.tw-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.07);
}
.tw-media .tw-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 0.12s;
}
.tw-media:hover .tw-img {
  filter: brightness(1.06);
}
/* meme caption drawn as HTML over the untouched picture; sized by the box (cqw) and its aspect (--ar) */
.tw-cap {
  position: absolute;
  left: 4%;
  right: 4%;
  top: 4.5%;
  z-index: 1;
  pointer-events: none;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  overflow-wrap: anywhere;
  font: 400 calc(11cqw / var(--ar, 1.5)) / 1.04 Impact, "Arial Black", "Segoe UI Black", sans-serif;
  letter-spacing: 0.01em;
  text-shadow:
    -0.06em -0.06em 0 #000,
    0.06em -0.06em 0 #000,
    -0.06em 0.06em 0 #000,
    0.06em 0.06em 0 #000,
    0 -0.07em 0 #000,
    0 0.07em 0 #000,
    -0.07em 0 0 #000,
    0.07em 0 0 #000,
    0 0.1em 0.2em rgb(0 0 0 / 0.5);
}
.tw-cap[hidden] {
  display: none;
}
.tw-quote {
  margin-top: 9px;
  border-left: 3px solid #6f7376;
  padding: 1px 0 1px 10px;
}
.q-head {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
}
.q-head .tw-badge {
  font-size: 12px;
}
.q-av {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  background: #333;
}
.q-av.letter {
  display: inline-grid;
  place-items: center;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  font-size: 10px;
  text-transform: lowercase;
}
.q-name {
  min-width: 0;
  font-weight: 700;
  color: #ececec;
  overflow: hidden;
  text-overflow: ellipsis;
}
.q-handle {
  flex: 0 1 auto;
  min-width: 0;
  color: #777;
  overflow: hidden;
  text-overflow: ellipsis;
}
.q-text {
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.45;
  color: #dedede;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  -webkit-user-select: text;
  user-select: text;
  cursor: text;
}
.tw-quote .tw-media {
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}
.j7-tw.deleted .tw-text,
.j7-tw.deleted .q-text {
  background: repeating-linear-gradient(-45deg, rgb(130 40 40 / 0.3) 0 7px, transparent 7px 14px);
}
.j7-tw.deleted .tw-media::after {
  background: repeating-linear-gradient(-45deg, rgb(120 30 30 / 0.35) 0 9px, transparent 9px 18px);
}
.j7-tw.collapsed .tw-body {
  display: none;
}
.j7-tw.collapsed .tw-acts {
  padding-bottom: 0;
}

/* ---- card density by feed width (container j7feed) ---- */
@container j7feed (max-width: 299px) {
  .tw-del {
    padding: 2px 5px;
  }
  .tw-del span {
    display: none;
  }
}
@container j7feed (max-width: 259px) {
  .j7-feed-list {
    gap: 6px;
    padding: 5px 5px 12px;
  }
  .j7-tw {
    padding: 0 8px 8px;
  }
  .tw-head {
    min-height: 46px;
  }
  .tw-av {
    width: 28px;
    height: 28px;
    margin-right: 6px;
  }
  .tw-who {
    padding-right: 4px;
  }
  .tw-name {
    font-size: 12px;
  }
  .tw-vamp {
    display: none;
  }
  .tw-deploy {
    gap: 3px;
    padding: 0 8px;
    margin-right: -8px;
    font-size: 10.5px;
    letter-spacing: 0.02em;
    border-left: 1px solid #383838;
  }
  .j7-tw.hl .tw-deploy {
    border-left-color: #3a2d48;
  }
  .tw-deploy i {
    font-size: 13px;
  }
  .tw-text {
    font-size: 12.5px;
  }
}
@container j7feed (max-width: 199px) {
  /* bolt only: the label span inherits font-size 0 */
  .tw-deploy {
    font-size: 0;
    padding: 0 9px;
  }
  .tw-deploy i {
    font-size: 15px;
  }
}
@container j7feed (min-width: 260px) {
  .tw-dot,
  .tw-fol {
    display: inline;
  }
  .tw-l2 i {
    display: inline-block;
  }
  .tw-ctx.q span {
    display: inline;
  }
}
@container j7feed (min-width: 330px) {
  .j7-tw {
    padding: 0 11px 11px;
  }
  .tw-head {
    min-height: 56px;
  }
  .tw-av {
    width: 38px;
    height: 38px;
    margin-right: 9px;
  }
  .tw-name {
    font-size: 13.5px;
  }
  .tw-l2 {
    font-size: 11.5px;
  }
  .tw-time {
    font-size: 10.5px;
  }
  .tw-vamp {
    width: 36px;
    font-size: 15px;
  }
  .tw-deploy {
    gap: 6px;
    padding: 0 16px;
    margin-right: -11px;
    font-size: 12px;
  }
  .tw-deploy i {
    font-size: 16px;
  }
  .tw-ctx {
    font-size: 11px;
  }
  .tw-icons {
    gap: 11px;
  }
  .tw-icons button {
    font-size: 14.5px;
  }
  .tw-text {
    font-size: 14px;
  }
  .q-text {
    font-size: 13.5px;
  }
  .q-head {
    font-size: 12.5px;
  }
  .q-av {
    width: 22px;
    height: 22px;
  }
}
@container j7feed (min-width: 400px) {
  .tw-icons {
    gap: 13px;
  }
  .tw-ctx.r .who {
    display: inline;
  }
  .tw-time.h {
    display: inline;
  }
  .tw-time.a {
    display: none;
  }
}
@container j7feed (min-width: 470px) {
  .tw-deploy {
    padding: 0 26px;
  }
  .tw-text {
    font-size: 14.5px;
  }
}

/* ---------------------------------------------------------------------------------------------------------
   4.4 Split bar and stacked layout (panel < 360 px)
   --------------------------------------------------------------------------------------------------------- */
.j7-split {
  display: none;
  position: relative;
  z-index: 4;
  align-items: center;
  justify-content: center;
  cursor: row-resize;
  touch-action: none;
  background: #141414;
  border-top: 1px solid #070707;
  border-bottom: 1px solid #070707;
}
.j7-split::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -5px;
  bottom: -5px;
}
.j7-split .grip {
  width: 38px;
  height: 3px;
  border-radius: 3px;
  background: #444;
  transition:
    background-color 0.12s,
    width 0.12s;
}
.j7-split:hover .grip,
.j7-split.drag .grip {
  width: 54px;
  background: var(--c-acc);
}
@container j7 (max-width: 359px) {
  .j7-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: clamp(230px, var(--j7-split, 50%), calc(100% - 170px)) 9px minmax(0, 1fr);
    gap: 0;
  }
  .j7-split {
    display: flex;
  }
  /* the bar keeps its (now 0 px) grid row: removing it would shift the feed into the wrong row */
  .j7.noform .j7-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 0 0 minmax(0, 1fr);
  }
  .j7.noform .j7-split {
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    border: 0;
  }
}

/* ---------------------------------------------------------------------------------------------------------
   4.5 Hover zoom (one element in <body>, above popovers but never shown while one is open)
   --------------------------------------------------------------------------------------------------------- */
.j7-zoom {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 850;
  container-type: inline-size;
  pointer-events: none;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  border: 1px solid #3a3a3a;
  box-shadow:
    0 24px 60px rgb(0 0 0 / 0.7),
    0 0 0 1px rgb(0 0 0 / 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-6px) scale(0.97);
  transform-origin: left center;
  transition:
    opacity 0.1s ease-out,
    transform 0.12s ease-out,
    visibility 0s linear 0.12s;
}
.j7-zoom.lefty {
  transform: translateX(6px) scale(0.97);
  transform-origin: right center;
}
.j7-zoom.show {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.1s ease-out,
    transform 0.12s ease-out,
    visibility 0s;
}
.j7-zoom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------------------------------------------------------------------------------------------------------
   4.6 Footer
   --------------------------------------------------------------------------------------------------------- */
.j7-foot {
  flex-shrink: 0;
  height: 29px;
  display: flex;
  align-items: stretch;
  min-width: 0;
  background: #1a1a1a;
  border-top: 1px solid #0b0b0b;
  font-size: 11.5px;
  color: #cfcfcf;
  white-space: nowrap;
  overflow: hidden;
}
.j7-brand {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px 0 9px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.j7-fb {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 8px;
  font-weight: 500;
  color: #cfcfcf;
  border-left: 1px solid #2b2b2b;
}
.j7-fb:hover {
  background: #242424;
  color: #fff;
}
.j7-fb i {
  font-size: 13px;
}
.j7-foot .sp + .j7-fb {
  border-left: 0;
}
.j7-fb.conn {
  color: #e2e2e2;
}
.j7-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ed270;
  box-shadow: 0 0 6px rgb(46 210 112 / 0.6);
}
.j7-fb.region b {
  color: #fff;
  font-weight: 700;
}
.j7-fb.region .ms {
  font-weight: 700;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  color: #eab308;
}
.j7-fb.region .ms.good {
  color: #4ade80;
}
.j7-fb.region .ms.bad {
  color: #ff7b7f;
}
@container j7 (max-width: 379px) {
  .j7-fb.conn .lbl,
  .j7-fb.hist .lbl {
    display: none;
  }
}

/* ---------------------------------------------------------------------------------------------------------
   4.7 Popovers (div.tx-pop.j7-pop in <body>)
   --------------------------------------------------------------------------------------------------------- */
.tx-pop.j7-pop {
  min-width: 180px;
  max-width: 300px;
  padding: 6px;
  background: #1e1e1e;
  border: 1px solid #3a3a3a;
  border-radius: 9px;
  box-shadow: 0 14px 36px rgb(0 0 0 / 0.6);
  font-family: var(--font-j7);
  font-size: 12px;
  line-height: 1.35;
  color: #ececec;
}
.tx-pop.j7-pop.wide {
  width: 290px;
  max-width: calc(100vw - 16px);
}
.tx-pop.j7-pop.vamp {
  width: 300px;
}
.j7-pop-h {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 5px 7px;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
}
.j7-pop-h > i {
  font-size: 14px;
  color: #a5a3ff;
}
.j7-pop-h > span:first-of-type {
  flex: 1 1 auto;
}
.j7-pop-h .j7-psub.vh {
  min-width: 0;
  padding: 0;
  font-size: 10.5px;
  font-weight: 500;
  color: #7b7b7b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* menu items */
.j7-mi {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 6px;
  color: #dcdcdc;
  font-size: 12px;
  text-align: left;
}
.j7-mi:hover {
  background: #2b2b2b;
  color: #fff;
}
.j7-mi i {
  font-size: 14px;
  color: #a3a3a3;
}
.j7-mi .ck {
  margin-left: auto;
  color: #a5a3ff;
}
.j7-mi.on {
  color: #fff;
}
.j7-mi .dim {
  color: #777;
  font-size: 11px;
}

/* switch rows */
.j7-sw {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 7px;
  border-radius: 6px;
  text-align: left;
}
.j7-sw:hover {
  background: #262626;
}
.j7-sw .sw-t {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.j7-sw .sw-t b {
  font-weight: 500;
  font-size: 12px;
  color: #e6e6e6;
}
.j7-sw .sw-t small {
  font-size: 10.5px;
  color: #7b7b7b;
}
.j7-sw .sw-k {
  flex: 0 0 auto;
  position: relative;
  width: 28px;
  height: 16px;
  border-radius: 99px;
  background: #3a3a3a;
  transition: background-color 0.12s;
}
.j7-sw .sw-k i {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #bdbdbd;
  transition:
    transform 0.12s,
    background-color 0.12s;
}
.j7-sw.on .sw-k {
  background: #6366f1;
}
.j7-sw.on .sw-k i {
  background: #fff;
  transform: translateX(12px);
}

/* label + control rows, range, segmented control */
.j7-prow {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 7px 4px;
  font-size: 12px;
  color: #d6d6d6;
}
.j7-prow > span:first-child {
  flex: 1 1 auto;
  font-weight: 500;
}
.j7-prow .v {
  width: 34px;
  text-align: right;
  color: #a5a3ff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.j7-range {
  width: 110px;
  accent-color: #6366f1;
}
.j7-seg {
  display: inline-flex;
  border: 1px solid #3a3a3a;
  border-radius: 6px;
  overflow: hidden;
}
.j7-seg button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 9px;
  color: #bdbdbd;
  font-weight: 500;
  font-size: 11.5px;
}
.j7-seg button + button {
  border-left: 1px solid #3a3a3a;
}
.j7-seg button.on {
  background: #6366f1;
  color: #fff;
}

/* inputs, buttons, notes */
.j7-pin {
  display: block;
  width: 100%;
  margin-bottom: 6px;
  padding: 7px 9px;
  border-radius: 6px;
  background: #141414;
  border: 1px solid #333;
  color: #ececec;
  font-size: 12px;
  outline: none;
  resize: vertical;
}
.j7-pin:focus {
  border-color: #4a4a58;
}
.j7-pin:disabled {
  color: #666;
}
.j7-pin.num {
  margin: 0;
  padding: 5px 6px;
}
.j7-pbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  height: 30px;
  border-radius: 6px;
  background: #6366f1;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
}
.j7-pbtn:hover {
  background: #7476f5;
}
.j7-pbtn:disabled {
  opacity: 0.6;
  cursor: progress;
}
.j7-row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.j7-psub {
  padding: 0 5px 8px;
  color: #8a8a8a;
  font-size: 11px;
}
.j7-psub.foot {
  margin-top: 6px;
  padding: 8px 7px 2px;
  border-top: 1px solid #2c2c2c;
  font-size: 10.5px;
  color: #747474;
}
.j7-empty {
  padding: 10px 6px;
  color: #7b7b7b;
  font-size: 11.5px;
  text-align: center;
}
.j7-psep {
  height: 1px;
  margin: 6px 4px;
  background: #333;
}

/* coin lists (Vamp picker, Deploy history) */
.j7-vlist {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 280px;
  overflow-y: auto;
}
.j7-pop.vamp .j7-vlist {
  max-height: 320px;
}
.j7-vrow {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px;
  border-radius: 6px;
  text-align: left;
}
.j7-vrow:hover,
.j7-vrow.act {
  background: #2a2a2a;
}
.j7-vrow.act {
  box-shadow: inset 2px 0 0 #8f6ad6;
}
.j7-vrow img,
.j7-vrow .q-av {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  object-fit: cover;
}
.j7-vrow .q-av {
  display: inline-grid;
  place-items: center;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
}
.j7-vrow .vm {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow-wrap: anywhere;
}
.j7-vrow .vm b {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1px 5px;
  font-size: 12px;
}
.j7-vrow .tk,
.j7-vrow .vn {
  min-width: 0;
  overflow-wrap: anywhere;
}
.j7-vrow small {
  font-size: 10.5px;
  color: #8a8a8a;
}
.j7-pop.vamp .j7-vrow small {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1px 5px;
}
.j7-vrow .va {
  font-size: 11px;
  font-weight: 500;
  color: #4ade80;
  font-variant-numeric: tabular-nums;
}
.j7-vrow .vc {
  width: 54px;
  flex-shrink: 0;
  text-align: right;
  font-size: 11px;
  font-weight: 500;
  color: #d6d6d6;
  font-variant-numeric: tabular-nums;
}
.j7-vrow .vt {
  flex-shrink: 0;
  padding: 1px 4px;
  border-radius: 3px;
  background: #2f2f2f;
  color: #a3a3a3;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.j7-vrow .vt.you {
  background: #24203a;
  color: #b9b6ff;
}
.j7-vrow .vcfg {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.j7-vrow .vcfg i {
  font-size: 11px;
}
.j7-vrow .vp.spacex {
  color: #7dd3fc;
}
.j7-vrow .vp.tesla {
  color: #fca5a5;
}
.j7-vrow .vp.sol {
  color: #8a8a8a;
  font-weight: 500;
}
.j7-vrow .vf {
  color: #8a8a8a;
  font-weight: 500;
}
.j7-vrow .vf.div {
  color: #d9b84a;
  font-weight: 700;
}
.j7-vsec {
  padding: 6px 6px 3px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6e6e6e;
}
.j7-vsec:first-child {
  padding-top: 0;
}

/* Site Chat */
.j7-chat {
  height: 190px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 2px 5px 8px;
}
.j7-chat .cm {
  font-size: 11.5px;
  line-height: 1.35;
  color: #cfcfcf;
}
.j7-chat .cm b {
  margin-right: 6px;
  color: #a5a3ff;
  font-weight: 700;
}

/* Tracked accounts */
.j7-acc {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 6px;
  border-radius: 6px;
}
.j7-acc:hover {
  background: #262626;
}
.j7-acc img {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}
.j7-acc.hl img {
  box-shadow: 0 0 0 1.5px #8545c5;
}
.j7-acc .an {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.j7-acc .an small {
  color: #7b7b7b;
  font-size: 10.5px;
}
.j7-acc .at {
  font-size: 9.5px;
  font-weight: 700;
  color: #777;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.j7-acc .at.hl {
  color: #b06cf3;
}

/* Image Library */
.j7-lib {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 0 3px 3px;
}
.j7-lib button {
  aspect-ratio: 1;
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid #333;
  background: #111;
}
.j7-lib button:hover {
  border-color: #6d6af5;
}
.j7-lib img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Deploy settings: hotkey button, reset link, capture message */
.j7-key {
  min-width: 64px;
  height: 26px;
  padding: 0 10px;
  border-radius: 6px;
  background: #141414;
  border: 1px solid #3a3a3a;
  border-bottom-width: 2px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 11.5px;
  line-height: 1;
  color: #ececec;
  white-space: nowrap;
}
.j7-key:hover {
  border-color: #5a5a5a;
}
.j7-key.listen {
  border-color: #6d6af5;
  color: #c4c2ff;
  background: #1d1d2c;
  animation: j7-listen 1s ease-in-out infinite alternate;
}
@keyframes j7-listen {
  from {
    box-shadow: 0 0 0 0 rgb(109 106 245 / 0.2);
  }
  to {
    box-shadow: 0 0 0 3px rgb(109 106 245 / 0.35);
  }
}
.j7-link {
  padding: 0 2px;
  color: #8a8a8a;
  font-size: 11px;
}
.j7-link:hover {
  color: #fff;
}
.j7-keymsg {
  padding: 0 7px 4px;
  font-size: 10.5px;
  color: #8a8a8a;
}
.j7-keymsg:empty {
  display: none;
}
.j7-keymsg.err {
  color: #ff7b7f;
}
.j7-keymsg.ok {
  color: #4ade80;
}

/* ---------------------------------------------------------------------------------------------------------
   4.8 Vamp mark in the form header (element built by part 1, filled here)
   --------------------------------------------------------------------------------------------------------- */
.j7-vtag {
  flex-shrink: 0;
  max-width: 100%;
  height: var(--h);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 0 1px 0 6px;
  border: 1px solid #5b3f86;
  border-radius: 7px;
  background: #261d33;
  color: #d9c2fb;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  animation: j7-pop 0.3s cubic-bezier(0.2, 1.5, 0.45, 1);
}
/* the mark's own display would otherwise defeat the hidden attribute */
.j7-vtag[hidden] {
  display: none;
}
.j7-vtag > i {
  flex-shrink: 0;
  font-size: 12px;
  color: #b58cf5;
}
.j7-vtag .t {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.1;
  letter-spacing: 0.02em;
}
.j7-vtag .x {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  color: #9f8bbd;
  font-size: 12px;
}
.j7-vtag .x:hover {
  background: #3a2c4f;
  color: #fff;
}
@container j7f (max-width: 299px) {
  .j7-fhead:has(.j7-vtag:not([hidden])) .j7-wallet > i {
    display: none;
  }
}
@keyframes j7-pop {
  0% {
    transform: scale(0.7);
  }
  60% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

/* ---------------------------------------------------------------------------------------------------------
   Reduced motion: animations and transitions inside .j7 and on the zoom are effectively instant
   --------------------------------------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .j7 *,
  .j7 *::before,
  .j7 *::after,
  .j7-zoom,
  .j7-zoom * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
