/* Base64 & URL Encoder — dark editor panes, fuchsia + cyan */
.b6-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 12px; }
.b6-top .tabs { margin: 0; }
.b6-dir { display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px; background: var(--raised); border: 1px solid var(--line); }
.b6-dir label { position: relative; cursor: pointer; font-size: 14px; font-weight: 650; color: var(--ink-2); padding: 8px 16px; border-radius: 9px; transition: background .15s, color .15s; }
.b6-dir input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; width: 100%; height: 100%; }
.b6-dir label:has(input:checked) { background: var(--accent); color: #fff; box-shadow: 0 4px 12px -6px var(--accent); }
.b6-dir label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.b6-opts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 10px; }
.b6-opts .check { margin: 0; }
.b6-opts select { width: auto; max-width: 100%; }

.b6-panes { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r); overflow: hidden; border: 1px solid #23262e; background: #15171c; }
.b6-panes.only-out { grid-template-columns: 1fr; margin-top: 14px; }
.b6-file + .b6-panes:not(.only-out) { margin-top: 0; }
.b6-panes.only-out .pane:first-child { display: none; }
.b6-panes.only-out .pane + .pane { border-left: 0; }
@media (max-width: 760px) { .b6-panes { grid-template-columns: 1fr; } }
.pane { display: flex; flex-direction: column; min-width: 0; }
.pane + .pane { border-left: 1px solid #23262e; }
@media (max-width: 760px) { .pane + .pane { border-left: 0; border-top: 1px solid #23262e; } }
.pane-head { display: flex; justify-content: space-between; align-items: center; padding: 9px 14px; background: #1b1e24; border-bottom: 1px solid #23262e; }
.pane-head label, .pane-head .lbl { color: #9aa3b2; font: 600 12px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.b6-count { color: #6b7385; font: 500 12px/1 var(--mono); }
.b6-panes textarea, .b6-single textarea {
  min-height: 260px; height: 260px; margin: 0; border: 0; border-radius: 0; resize: vertical;
  background: #15171c; color: #e6e9ef; font: 13.5px/1.6 var(--mono); padding: 12px 14px; overflow-wrap: anywhere;
}
.b6-panes textarea:focus, .b6-single textarea:focus { box-shadow: inset 0 0 0 2px var(--accent); }
.b6-panes textarea::placeholder, .b6-single textarea::placeholder { color: #5b6372; }
#b6Out { color: #f0abfc; }
.b6-single { border-radius: var(--r); overflow: hidden; border: 1px solid #23262e; }

.b6-drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; cursor: pointer;
  min-height: 170px; padding: 24px; border: 2px dashed color-mix(in oklab, var(--accent) 40%, var(--line-strong)); border-radius: var(--r);
  background: var(--tint); transition: background .15s, border-color .15s;
}
.b6-drop:hover, .b6-drop.over { background: color-mix(in oklab, var(--accent) 14%, var(--bg)); border-color: var(--accent); }
.b6-drop:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.b6-drop-ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; font: 800 22px/1 var(--display); }
.b6-drop b { font-size: 16px; color: var(--ink); }
.b6-drop u { color: var(--link); }
.b6-fileinfo { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 14px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--raised); font-size: 14.5px; overflow-wrap: anywhere; }
.b6-fileinfo img { max-width: 120px; max-height: 80px; border-radius: 8px; background: repeating-conic-gradient(#e5e7eb 0 25%, #fff 0 50%) 0 0/12px 12px; box-shadow: 0 0 0 1px var(--line); }
.b6-fileinfo > div { flex: 1; min-width: 180px; }
#b6FileDec .b6-fileinfo .btn { margin-left: auto; }
.status { min-height: 24px; margin: 12px 0 0; font-size: 14.5px; font-weight: 600; }
.status.error { color: var(--bad); }
.status.warn { color: var(--warn); }
.status.muted { color: var(--muted); font-weight: 500; }
