:root {
  --bg: #0b0908;
  --panel: #16110d;
  --panel-2: #1d1712;
  --panel-3: #241d16;
  --line: #2a2118;
  --line-2: #392d22;
  --text: #f4efe8;
  --heading: #fbf7f1;
  --muted: #9b8e80;
  --muted-2: #6e6358;
  --accent: #ee7a2d;
  --accent-press: #d96a1f;
  --accent-soft: rgba(238, 122, 45, 0.14);
  --accent-ring: rgba(238, 122, 45, 0.30);
  --accent-2: #46c07a;
  --danger: #ef6a52;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow-card: 0 1px 0 rgba(255,255,255,0.02) inset, 0 18px 40px -22px rgba(0,0,0,0.75);
  --shadow-pop: 0 30px 80px -24px rgba(0,0,0,0.8);
}

* { box-sizing: border-box; }

/* ---------- left sidebar (control app shell) ---------- */
.sidebar {
  position: fixed; left: 0; top: 0; bottom: 0; width: 214px; z-index: 40;
  background: linear-gradient(180deg, #15100b 0%, #100b08 100%);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: stretch;
  padding: 16px 12px 18px; gap: 18px;
}
body.has-sidebar { padding-left: 214px; }
.side-brand { display: flex; align-items: center; gap: 11px; padding: 4px 6px; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 11px; flex: none;
  background: linear-gradient(155deg, #f4883d 0%, #de681c 100%);
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 8px 18px -7px var(--accent-ring);
}
.brand-mark svg { width: 21px; height: 21px; }
.side-wordmark { font-size: 16px; font-weight: 700; color: var(--heading);
  letter-spacing: -0.02em; }
.side-group { display: flex; flex-direction: column; gap: 4px; align-items: stretch; }
.side-bottom { margin-top: auto; }
.side-btn {
  width: 100%; height: 42px; border-radius: 10px; border: 1px solid transparent;
  background: transparent; color: var(--muted); cursor: pointer;
  display: flex; align-items: center; gap: 12px; padding: 0 12px;
  font: inherit; text-align: left;
  transition: background .15s, color .15s, border-color .15s;
}
.side-ico { width: 21px; height: 21px; flex: none; display: flex; align-items: center; justify-content: center; }
.side-ico svg { width: 21px; height: 21px; }
.side-label { font-size: 14px; font-weight: 500; white-space: nowrap; }
.side-btn:hover { color: var(--text); background: var(--panel-2); }
.side-btn.active { color: var(--accent); background: var(--accent-soft);
  border-color: rgba(238,122,45,0.28); }
.side-btn.active .side-label { font-weight: 600; }
.side-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--accent-ring); }

/* collapse to icon-only on narrow screens */
@media (max-width: 760px) {
  .sidebar { width: 60px; padding: 16px 0 18px; align-items: center; }
  body.has-sidebar { padding-left: 60px; }
  .side-brand { padding: 0; justify-content: center; }
  .side-wordmark, .side-label { display: none; }
  .side-group { align-items: center; }
  .side-btn { width: 44px; justify-content: center; padding: 0; }
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body {
  background:
    radial-gradient(135% 115% at 50% -12%, #2a1a10 0%, #160f0b 38%, #0b0807 100%) no-repeat fixed;
  background-color: var(--bg);
}

a { color: var(--accent); text-decoration: none; }
::selection { background: var(--accent-soft); }

/* thin, warm scrollbars */
* { scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 999px;
  border: 3px solid transparent; background-clip: padding-box; }
*::-webkit-scrollbar-thumb:hover { background: #4a3a2c; background-clip: padding-box; }

/* ---------- landing / control shared ---------- */
.wrap {
  max-width: 1480px;
  margin: 0 auto;
  padding: 30px 26px 64px;
}

/* two-column control layout: controls on the left, live preview pinned right */
.layout { display: flex; gap: 22px; align-items: flex-start; }
.main-col { flex: 1; min-width: 0; }
.preview-rail {
  width: 372px; flex: none;
  position: sticky; top: 20px;
}
.preview-rail .lbl { display: block; margin-bottom: 9px; font-size: 12.5px;
  letter-spacing: 0.01em; }
@media (max-width: 980px) {
  .layout { flex-direction: column; }
  .preview-rail { position: static; width: 100%; max-width: 372px; }
}
h1 { font-size: 27px; margin: 0 0 5px; letter-spacing: -0.025em; font-weight: 700;
  color: var(--heading); }
.brand-logo { display: block; height: 38px; width: auto; margin: 2px 0 7px; }
.sub { color: var(--muted); margin: 0 0 26px; font-size: 13.5px; }

/* ---------- media sections ---------- */
.section-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.section-head .chev-btn { background: transparent; border: none; color: var(--muted);
  cursor: pointer; width: 26px; height: 26px; border-radius: 7px; flex: none;
  display: flex; align-items: center; justify-content: center; transition: background .15s, color .15s; }
.section-head .chev-btn:hover { background: var(--panel-2); color: var(--text); }
.section-head .chev { font-size: 10px; display: inline-block; transition: transform 0.15s; }
.section-card.collapsed .chev { transform: rotate(-90deg); }
.section-card.collapsed .section-body { display: none; }
.section-card.collapsed .section-head { margin-bottom: 0; }
.section-title { font-size: 15.5px; font-weight: 600; color: var(--heading);
  letter-spacing: -0.01em; outline: none; padding: 3px 7px; border-radius: 7px;
  border: 1px solid transparent; transition: border-color .15s, background .15s, box-shadow .15s; }
.section-title:hover { border-color: var(--line); }
.section-title:focus { border-color: var(--accent); background: var(--panel-2);
  box-shadow: 0 0 0 3px var(--accent-ring); }
.section-count { font-size: 11.5px; color: var(--muted); background: var(--panel-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; font-weight: 600; }
.section-tools { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.section-hint { font-size: 11.5px; color: var(--muted-2); }
.section-del { background: transparent; border: none; color: var(--muted-2); cursor: pointer;
  width: 26px; height: 26px; border-radius: 7px; font-size: 15px; line-height: 1;
  transition: background .15s, color .15s; }
.section-del:hover { color: var(--danger); background: var(--panel-2); }
.section-body { margin-top: 14px; }
.section-card .grid { margin-top: 14px; }
.section-card .grid.empty-grid { margin-top: 14px; min-height: 84px; border: 1.5px dashed var(--line);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: var(--muted-2); font-size: 12px; }
.section-card.drop-target { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }

.card {
  background: linear-gradient(180deg, #17120e 0%, #130e0a 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-card);
}
.card h2 { font-size: 15px; letter-spacing: -0.01em; text-transform: none;
  color: var(--heading); margin: 0 0 15px; font-weight: 600; }
.collapser { cursor: pointer; user-select: none; -webkit-user-select: none;
  display: flex; align-items: center; gap: 8px; }
.collapser .chev { display: inline-block; font-size: 11px; transition: transform 0.15s; }
.card.collapsed .card-body { display: none; }
.card.collapsed .collapser .chev { transform: rotate(-90deg); }

.links a {
  display: block;
  padding: 13px 15px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  transition: border-color .15s, background .15s, transform .1s;
}
.links a:hover { border-color: var(--line-2); background: var(--panel-3); }
.links a span { display: block; color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.links code { color: var(--accent); }

.btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--panel-2);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 9px 15px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s, transform .08s;
}
.btn:hover { background: var(--panel-3); border-color: var(--line-2); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.4; cursor: default; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--accent-ring); }
.btn.primary {
  background: linear-gradient(180deg, #f3863c 0%, #e56f22 100%);
  border-color: transparent; color: #fff; font-weight: 600;
  box-shadow: 0 6px 18px -6px var(--accent-ring);
}
.btn.primary:hover { background: linear-gradient(180deg, #f79447 0%, #ea7726 100%); }
.btn.primary:disabled { background: var(--panel-2); color: var(--muted);
  box-shadow: none; border-color: var(--line); }
.btn.danger { color: var(--danger); border-color: #3a2620; background: var(--panel-2); }
.btn.danger:hover { background: var(--danger); color: #fff; border-color: var(--danger); }

.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ---------- control grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
  gap: 13px;
}
.thumb {
  position: relative;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  cursor: pointer;
  background: #0a0807;
  aspect-ratio: 832 / 1249;
  transition: border-color .15s, box-shadow .15s, transform .1s;
}
.grid .thumb:hover { border-color: var(--line-2); transform: translateY(-2px); }
.thumb img, .thumb video { width: 100%; height: 100%; object-fit: contain; display: block; }
.thumb .vbadge { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 999px; background: rgba(0,0,0,0.5);
  backdrop-filter: blur(2px); color: #fff; font-size: 15px; display: flex;
  align-items: center; justify-content: center; pointer-events: none;
  border: 1px solid rgba(255,255,255,0.12); }
.thumb.live { border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 22px -4px var(--accent-ring); }
.grid .thumb[draggable="true"] { cursor: grab; }
.grid .thumb.dragging { opacity: 0.45; cursor: grabbing;
  outline: 2px dashed var(--accent); outline-offset: -2px; }
.thumb .name {
  position: absolute; left: 0; right: 0; bottom: 0;
  font-size: 11px; padding: 5px 7px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.78) 60%);
  color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.thumb .live-tag {
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em;
  padding: 3px 8px; border-radius: 999px; display: none;
  box-shadow: 0 4px 12px -3px var(--accent-ring);
}
.thumb.live .live-tag { display: block; }
.thumb .logo-set {
  position: absolute; top: 7px; left: 7px;
  width: 24px; height: 24px; border-radius: 999px;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(2px); color: #fff; border: none;
  cursor: pointer; font-size: 13px; line-height: 24px; text-align: center;
  transition: background .15s;
}
.thumb .logo-set:hover { background: var(--accent); }
.thumb .logo-set.on { background: #ffc83d; color: #2a1c00; }

.logo-box {
  display: flex; gap: 14px; align-items: center;
  padding: 13px; background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 13px;
}
.logo-box .thumb { width: 74px; flex: none; cursor: default; }
.logo-box .thumb:hover { transform: none; border-color: var(--line); }
.logo-box .thumb.empty { display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 11px; text-align: center; padding: 6px; }
.thumb .del {
  position: absolute; top: 7px; right: 7px;
  width: 24px; height: 24px; border-radius: 999px;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(2px); color: #fff; border: none;
  cursor: pointer; font-size: 14px; line-height: 24px; text-align: center;
  transition: background .15s;
}
.thumb .del:hover { background: var(--danger); }

.status { font-size: 13px; color: var(--muted); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 999px;
  background: var(--danger); margin-right: 7px; vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(0,0,0,0); }
.dot.on { background: var(--accent-2); box-shadow: 0 0 9px -1px var(--accent-2); }

.dropzone {
  display: block;
  border: 1.5px dashed var(--line-2);
  border-radius: 14px;
  padding: 40px 26px;
  margin: 4px 0 18px;
  text-align: center;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.5;
  font-size: 13.5px;
  transition: border-color .15s, color .15s, background .15s;
}
.dropzone:hover { border-color: #4a3a2c; }
.dropzone.drag { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }
.dropzone u { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }

/* rich text editor (contenteditable) */
.rt-editor {
  width: 100%;
  min-height: 92px;
  background: var(--panel-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  font-size: 18px;
  font-family: -apple-system, "SF Pro Display", system-ui, sans-serif;
  line-height: 1.35;
  white-space: pre-wrap;
  overflow: auto;
  transition: border-color .15s, box-shadow .15s;
}
.rt-editor:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.rt-editor:empty:before { content: attr(data-placeholder); color: var(--muted-2); }

input[type="color"] {
  width: 38px; height: 32px; padding: 3px;
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: 9px; cursor: pointer; vertical-align: middle;
}
input[type="color"]::-webkit-color-swatch { border: none; border-radius: 5px; }
input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }

select.font-select {
  background: var(--panel-2); color: var(--text); border: 1px solid var(--line);
  border-radius: 9px; padding: 8px 11px; font-size: 14px; max-width: 230px; cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
}
select.font-select:focus { outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring); }

/* range sliders (duration, zoom) */
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  height: 5px; border-radius: 999px; background: var(--line-2); cursor: pointer;
  vertical-align: middle;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 16px; height: 16px; border-radius: 999px;
  background: var(--accent); border: 3px solid #15100b;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5); cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 999px;
  background: var(--accent); border: 3px solid #15100b; cursor: pointer;
}
input[type="range"]:disabled { opacity: 0.45; }

/* ---------- text editor ---------- */
textarea {
  width: 100%;
  background: var(--panel-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  font-size: 16px;
  font-family: -apple-system, "SF Pro Text", system-ui, sans-serif;
  line-height: 1.45;
  resize: vertical;
  transition: border-color .15s, box-shadow .15s;
}
textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }

.seg { display: inline-flex; gap: 3px; background: var(--panel-2);
  border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 3px; }
.seg button {
  background: transparent; color: var(--muted); border: none; border-radius: 8px;
  padding: 7px 13px; font-size: 13px; font-weight: 500; cursor: pointer;
  transition: background .15s, color .15s;
}
.seg button:hover { color: var(--text); }
.seg button.sel { background: var(--accent); color: #fff; font-weight: 600;
  box-shadow: 0 3px 10px -3px var(--accent-ring); }
.lbl { color: var(--muted); font-size: 12px; margin-right: 6px; }
.swatch { width: 28px; height: 28px; border-radius: 999px; border: 2px solid var(--line-2);
  cursor: pointer; display: inline-block; vertical-align: middle; transition: box-shadow .15s; }
.swatch:hover { box-shadow: 0 0 0 2px var(--line-2); }
.swatch.sel { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-ring); }

.verse { display: flex; align-items: center; gap: 10px; padding: 11px 13px;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  cursor: pointer; transition: border-color .15s, background .15s; }
.verse:hover { border-color: var(--line-2); background: var(--panel-3); }
.verse.live { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.verse .vtext { flex: 1; font-size: 14px; color: var(--text); white-space: pre-wrap;
  max-height: 3.2em; overflow: hidden; line-height: 1.3; }
.verse .vdel { color: var(--muted); border: none; background: transparent; cursor: pointer;
  font-size: 18px; line-height: 1; padding: 2px 6px; }
.verse .vdel:hover { color: var(--danger); }

.preview {
  width: 100%; aspect-ratio: 832 / 1249; background: #08070a;
  border: 1px solid var(--line); border-radius: 14px;
  position: relative; overflow: hidden; container-type: inline-size;
  touch-action: none;
}
.preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  user-select: none; -webkit-user-select: none; -webkit-user-drag: none; pointer-events: none; }
.preview.live-mirror { background: #000; }
.preview.live-mirror iframe { position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; display: block; }
.preview #pvLayer, .preview #mpLayer { position: absolute; inset: 0; display: none;
  box-sizing: border-box; padding: 6cqw; pointer-events: none; }
.preview #pvBox, .preview #mpBox { font-family: -apple-system, "SF Pro Display", system-ui, sans-serif;
  font-weight: 600; line-height: 1.22; white-space: pre-wrap; word-wrap: break-word;
  max-width: 100%; color: #fff; }

/* ---------- per-graphic text: tile badges + popup editor ---------- */
.thumb .edit {
  position: absolute; bottom: 27px; right: 7px;
  width: 24px; height: 24px; border-radius: 999px;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(2px); color: #fff; border: none;
  cursor: pointer; font-size: 12px; line-height: 24px; text-align: center;
  transition: background .15s;
}
.thumb .edit:hover { background: var(--accent); }
.thumb .capcount {
  position: absolute; bottom: 27px; left: 7px;
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
  line-height: 20px; text-align: center; pointer-events: none;
  box-shadow: 0 3px 9px -3px var(--accent-ring);
}

.modal-backdrop { position: fixed; inset: 0; z-index: 50;
  background: rgba(6,4,3,0.62); backdrop-filter: blur(7px);
  display: flex; align-items: center; justify-content: center; padding: 22px; }
.modal { background: linear-gradient(180deg, #18120e 0%, #130e0a 100%);
  border: 1px solid var(--line-2); border-radius: 20px;
  width: min(1000px, 96vw); max-height: 92vh; display: flex; flex-direction: column;
  overflow: hidden; box-shadow: var(--shadow-pop); }
.modal-head, .modal-foot { display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; }
.modal-head { border-bottom: 1px solid var(--line); }
.modal-foot { border-top: 1px solid var(--line); }
.modal-head h2 { margin: 0; font-size: 15px; text-transform: none; letter-spacing: -0.01em;
  color: var(--heading); font-weight: 600; }
.modal.sm { width: min(560px, 94vw); }
.modal-pad { padding: 20px; }
.modal-pad ul { margin: 0; padding-left: 20px; }
.modal-pad li { margin: 7px 0; font-size: 14px; line-height: 1.55; color: var(--text); }
.modal-pad li b { color: var(--heading); font-weight: 600; }
.modal-body { display: flex; gap: 22px; padding: 20px; overflow: auto; }
.modal-preview { width: 300px; flex: none; }
.modal-edit { flex: 1; min-width: 320px; }
.cap-head { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 9px; }
#capList { display: flex; flex-direction: column; gap: 6px; max-height: 190px; overflow: auto; }
.cap-row { display: flex; align-items: center; gap: 9px; padding: 9px 11px;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: 9px; cursor: pointer;
  transition: border-color .15s, background .15s; }
.cap-row:hover { border-color: var(--line-2); background: var(--panel-3); }
.cap-row.sel { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.cap-row .cnum { color: var(--muted); font-size: 12px; width: 16px; flex: none; text-align: right; }
.cap-row .ct { flex: 1; font-size: 13px; color: var(--text); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; }
.cap-row .ct.empty { color: var(--muted-2); font-style: italic; }
.cap-row .cdel { color: var(--muted); border: none; background: transparent; cursor: pointer;
  font-size: 16px; line-height: 1; padding: 2px 4px; flex: none; }
.cap-row .cdel:hover { color: var(--danger); }
.cap-stepper { display: inline-flex; gap: 8px; align-items: center; }

/* ── billing banner ─────────────────────────────────────────────────────── */
.billing-bar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  margin: 4px 0 14px; padding: 11px 16px;
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--panel-2);
}
.billing-bar.warn {
  border-color: var(--accent-ring);
  background: var(--accent-soft);
}
.billing-bar.danger {
  border-color: rgba(239, 106, 82, 0.45);
  background: rgba(239, 106, 82, 0.10);
}
.billing-text { font-weight: 600; color: var(--heading); margin-right: auto; }
.billing-bar.danger .billing-text { color: var(--danger); }

/* ── iPad pairing (settings) ────────────────────────────────────────────── */
.pair-block { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.pair-card { display: flex; gap: 16px; align-items: center; margin-top: 10px;
  padding: 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  background: var(--panel-2); }
.qr-box { width: 168px; height: 168px; flex: none; border-radius: 10px;
  background: #fff; padding: 6px; box-sizing: border-box; }
.qr-box svg { width: 100%; height: 100%; display: block; }
.pair-meta { min-width: 0; }
.pair-code { font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 30px; letter-spacing: 7px; color: var(--accent); font-weight: 700; }
