/* Cifras Culto — componentes no DNA do tema AI Social Automation + identidade Igreja Batista Atitude */
:root {
  --orange: #FF7400;
  --orange-2: #FF7400;
  --on-orange: #0b0a09;
  --orange-soft: rgba(255, 116, 0, .12);
  --orange-ring: rgba(255, 116, 0, .32);
  --gray: #a99e92;
  --bg: #0b0a09;
  --surface: #16130f;
  --surface-2: #221d18;
  --text: #f3ece4;
  --n900: #16130f;
  --n800: #221d18;
  --n700: #2e2720;
  --n600: #6b6158;
  --n500: #8f8478;
  --n400: #a99e92;
  --line: rgba(243, 236, 228, .08);
  --line-2: rgba(243, 236, 228, .14);
  --danger: #ff6b5c;
  --display: 'Montserrat', 'Inter', sans-serif;
  --mono: 'Geist Mono', 'Courier New', Consolas, monospace;
}

button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
body { color: var(--text); }
h1, h2, h3 { font-family: var(--display); font-weight: 900; letter-spacing: -.03em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* logo da igreja */
.hero { padding: 32px 0 24px; }
.brand-hero { position: relative; display: flex; justify-content: center; max-width: 90%; margin-bottom: 20px; }
.brand-hero::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  top: -10%; left: -20%; width: 140%; height: 120%;
  background: radial-gradient(ellipse closest-side, rgba(255, 116, 0, .18), rgba(255, 116, 0, 0));
}
.brand-logo {
  /* logo horizontal (selo + textos lado a lado): baixa, para o cabeçalho não ocupar a tela */
  position: relative; z-index: 1; display: block; height: clamp(120px, 17vh, 170px); width: auto; max-width: 100%;
  object-fit: contain; filter: drop-shadow(0 10px 40px rgba(255, 116, 0, .18));
  animation: logoIn 500ms ease-out both;
}
@keyframes logoIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 767px) {
  .hero { padding: 28px 0 20px; }
  .brand-logo { height: auto; width: 100%; max-width: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-logo, .animate-entry { animation: none !important; }
}
[hidden] { display: none !important; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* status do servidor */
.status .dot { background: var(--n500); }
.status .ping { background: transparent; }
.status.on { color: var(--text); }
.status.on .dot { background: #22c55e; }
.status.on .ping { background: #4ade80; }
.status.off { color: #ffd2cc; border-color: rgba(255, 107, 92, .35); background: rgba(255, 107, 92, .08); }
.status.off .dot { background: var(--danger); }
.status.off .ping { background: var(--danger); }

/* grade de 3 colunas */
.app-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(380px, 1.65fr) minmax(300px, 1.05fr);
  gap: 20px;
  align-items: start;
}
.card {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(to top right, rgba(255,255,255,0), rgba(255,240,225,.03), rgba(255,255,255,0)), rgba(22, 19, 15, .82);
  border: 1px solid var(--line);
  padding: 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.panel { position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow: auto; scrollbar-width: thin; scrollbar-color: #2e2720 transparent; }
.panel-cifra { position: static; max-height: none; overflow: visible; }
.panel-rep { overflow: auto; }
.panel-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.panel-head h2 { font-size: 24px; margin: 0; color: var(--text); }
.step {
  font-family: var(--display); font-weight: 900; letter-spacing: -.03em; font-size: 13px; color: var(--orange-2);
  padding: 3px 8px; border-radius: 6px; background: var(--orange-soft); box-shadow: inset 0 0 0 1px var(--orange-ring);
}
.icon-btn {
  display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line-2); color: var(--n400); transition: all .2s;
}
.icon-btn:hover { color: var(--text); border-color: rgba(255, 255, 255, .3); }

/* botões */
.btn {
  border: 1px solid transparent; border-radius: 8px; padding: 9px 16px; font-weight: 500; font-size: 13px;
  transition: transform .12s ease, background .15s ease, border-color .15s, filter .15s; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--orange); color: var(--on-orange); font-weight: 700; box-shadow: 0 8px 20px -10px rgba(255, 116, 0, .7); }
.btn-primary:hover { background: var(--orange-2); }
.btn-gold {
  border-radius: 999px; color: var(--on-orange); font-weight: 700; border-top: 1px solid rgba(255, 255, 255, .2);
  background: linear-gradient(90deg, #f06a00, var(--orange), #ff8f33);
  box-shadow: 0 8px 30px -5px rgba(255, 116, 0, .4);
}
.btn-gold:hover { filter: brightness(1.1); box-shadow: 0 8px 40px -5px rgba(255, 116, 0, .6); }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .25); }
.btn:disabled { opacity: .5; cursor: wait; }

.link-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 16px; padding: 12px;
  background: rgba(255, 255, 255, .02); border: 1px dashed var(--orange-ring); border-radius: 12px;
  color: var(--orange); font-size: 13px; font-weight: 500; transition: background .2s, border-color .2s;
}
.link-btn:hover { background: var(--orange-soft); border-color: rgba(255, 116, 0, .6); }

/* busca */
.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.tab {
  border: 0; background: none; padding: 0 0 10px; margin-bottom: -1px; font-size: 13px; color: var(--n500);
  border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--text); border-bottom-color: var(--orange); }
.search {
  display: flex; align-items: center; gap: 8px; border-radius: 12px; padding: 5px 5px 5px 12px;
  background: rgba(0, 0, 0, .4); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s;
}
.search:focus-within { box-shadow: inset 0 0 0 1px var(--orange), 0 0 0 4px rgba(255, 116, 0, .15); }
.search .ico { width: 17px; height: 17px; color: var(--n500); flex: none; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 7px 0; background: transparent; font-size: 13.5px; }
.search input::placeholder { color: var(--n600); }
.hint { color: var(--n500); font-size: 12.5px; margin: 12px 2px; line-height: 1.55; }
.hint.error { color: #ffb4a8; }
.hint b { color: var(--text); font-weight: 500; }

.results { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.result {
  display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; width: 100%; text-align: left;
  background: rgba(255, 255, 255, .02); border: 1px solid transparent; box-shadow: inset 0 0 0 1px var(--line);
  transition: background .2s, box-shadow .2s;
}
.result:hover, .result:focus-visible { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-2); outline: none; }
.result.current { background: linear-gradient(to bottom, rgba(255, 116, 0, .1), transparent); box-shadow: inset 0 0 0 1px var(--orange-ring); }
.result img, .result .ph { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; background: var(--n800); }
.result .ph { display: grid; place-items: center; color: var(--orange-2); font-family: var(--display); font-size: 18px; }
.result .meta { min-width: 0; flex: 1; }
.result .t { font-weight: 500; font-size: 13.5px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.result .a { color: var(--n500); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge-top {
  display: inline-block; margin-top: 5px; font-size: 10px; text-transform: uppercase; letter-spacing: .04em;
  background: var(--orange-soft); color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange-ring); padding: 1px 7px; border-radius: 6px;
}
.skeleton { height: 62px; border-radius: 12px; background: linear-gradient(90deg, rgba(255,255,255,.03) 25%, rgba(255,255,255,.07) 50%, rgba(255,255,255,.03) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* cifra */
.editing-badge {
  margin-left: auto; font-size: 10px; text-transform: uppercase; color: var(--orange); letter-spacing: .04em;
  background: var(--orange-soft); box-shadow: inset 0 0 0 1px var(--orange-ring); padding: 4px 9px; border-radius: 6px;
}
.empty { text-align: center; padding: 30px 20px 60px; color: var(--n500); }
.empty h3 { color: var(--text); font-size: 26px; margin: 0 0 8px; }
.empty p { max-width: 360px; margin: 0 auto; font-size: 13.5px; line-height: 1.6; }
.capo {
  display: inline-block; margin-top: 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--orange);
  background: var(--orange-soft); box-shadow: inset 0 0 0 1px var(--orange-ring); padding: 3px 8px; border-radius: 6px;
}
.versions { display: inline-flex; background: rgba(0, 0, 0, .4); box-shadow: inset 0 0 0 1px var(--line-2); border-radius: 10px; padding: 3px; }
.versions button { border: 0; background: transparent; padding: 6px 12px; border-radius: 7px; font-size: 12.5px; color: var(--n400); transition: all .15s; }
.versions button:hover:not(:disabled):not(.active) { color: var(--text); }
.versions button.active { background: var(--orange); color: var(--on-orange); font-weight: 700; }
.versions button:disabled { opacity: .35; cursor: not-allowed; }

.key-wrap { position: relative; margin-top: 20px; border-radius: 22px; padding: 2px; background: var(--surface); overflow: hidden; }
.key-glow { position: absolute; inset: 0; background: linear-gradient(to bottom, var(--orange-2), var(--orange), transparent); opacity: .8; }
.key-box {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: linear-gradient(to bottom, rgba(255, 116, 0, .1), transparent 70%), var(--surface);
  border-radius: 20px; padding: 16px 16px 16px 22px;
}
.key-now { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.key-now .label { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--n400); }
.key-now strong { font-size: 46px; line-height: 1; font-weight: 900; letter-spacing: -.02em; color: var(--text); }
.key-orig { font-size: 12px; color: var(--n500); }
.key-steps { display: flex; gap: 8px; }
.key-steps .btn { width: 52px; height: 48px; padding: 0; border-radius: 14px; font-size: 16px; background: var(--bg); border-color: var(--line-2); color: var(--n400); }
.key-steps .btn:hover { color: var(--text); border-color: rgba(255, 116, 0, .6); transform: scale(1.05); }

.chips { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; margin-top: 12px; }
.chip {
  position: relative; border: 0; background: rgba(255, 255, 255, .02); box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 10px; padding: 9px 0; font-size: 12.5px; color: var(--n400); transition: all .15s;
}
.chip:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--orange-ring); background: var(--orange-soft); }
.chip.active { background: var(--orange); color: var(--on-orange); font-weight: 700; box-shadow: 0 6px 18px -6px rgba(255, 116, 0, .7); }
.chip.orig::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--orange-2); }
.chip.active.orig::after { background: var(--on-orange); }

.chart {
  margin: 18px 0 0; padding: 22px; border-radius: 16px; background: rgba(11, 10, 9, .75); box-shadow: inset 0 0 0 1px var(--line);
  font-family: var(--mono); font-size: 14px; line-height: 1.6; color: var(--text); overflow-x: auto; white-space: pre; tab-size: 4;
}
.chart .ch { font-weight: 700; color: var(--orange-2); }
.chart .sec { color: var(--gray); font-weight: 700; }
.song-actions { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.song-actions .btn-gold { flex: 1; padding: 14px 20px; font-size: 14px; }

/* repertório */
.fields { display: grid; grid-template-columns: 1fr 150px; gap: 10px; margin-bottom: 16px; }
.fields-3 { grid-template-columns: 1.4fr 90px 1fr; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--n500); }
.field input, .field textarea {
  border: 0; border-radius: 10px; padding: 10px 12px; background: rgba(0, 0, 0, .45); outline: 0; min-width: 0;
  box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13.5px; transition: box-shadow .2s; color-scheme: dark;
}
.field input:focus, .field textarea:focus { box-shadow: inset 0 0 0 1px var(--orange), 0 0 0 4px rgba(255, 116, 0, .15); }
.field textarea { font-family: var(--mono); font-size: 13px; resize: vertical; white-space: pre; overflow-x: auto; }

.setlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.item {
  display: flex; align-items: center; gap: 8px; padding: 9px 8px 9px 6px; border-radius: 12px;
  background: rgba(255, 255, 255, .02); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s, background .15s, opacity .15s;
}
.item:hover { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); }
.item.editing { background: linear-gradient(to bottom, rgba(255, 116, 0, .1), transparent); box-shadow: inset 0 0 0 1px var(--orange); }
.item.dragging { opacity: .4; }
.item.drop-before { box-shadow: inset 0 0 0 1px var(--line), 0 -3px 0 var(--orange); }
.item.drop-after { box-shadow: inset 0 0 0 1px var(--line), 0 3px 0 var(--orange); }
.grip { cursor: grab; color: var(--n600); padding: 4px 2px; display: grid; place-items: center; }
.grip svg { width: 12px; height: 12px; fill: currentColor; }
.num { width: 26px; flex: none; font-family: var(--display); font-weight: 900; letter-spacing: -.03em; font-size: 18px; color: var(--n600); text-align: center; }
.item:hover .num, .item.editing .num { color: var(--orange-2); }
.item .info { flex: 1; min-width: 0; border: 0; background: none; text-align: left; padding: 0; }
.item .info .t { font-weight: 500; font-size: 13.5px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .info .a { font-size: 11.5px; color: var(--n500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.item .info:hover .t { color: var(--orange-2); }
.key-tag {
  flex: none; font-size: 12px; font-weight: 600; color: var(--orange); background: var(--orange-soft); box-shadow: inset 0 0 0 1px var(--orange-ring);
  border-radius: 6px; padding: 3px 7px; min-width: 36px; text-align: center;
}
.mini { display: flex; gap: 1px; flex: none; }
.mini button { border: 0; background: transparent; width: 24px; height: 24px; border-radius: 6px; color: var(--n500); font-size: 10px; display: grid; place-items: center; }
.mini button:hover { background: rgba(255, 255, 255, .08); color: var(--text); }
.mini button.del:hover { background: rgba(255, 107, 92, .15); color: var(--danger); }
.mini button:disabled { opacity: .25; cursor: default; background: none; }

.setlist-empty { border: 1px dashed var(--line-2); border-radius: 12px; padding: 24px 16px; text-align: center; color: var(--n500); font-size: 12.5px; line-height: 1.6; }
.setlist-empty strong { color: var(--text); font-weight: 500; }
.setlist-empty p { margin: 0; }

.options { display: grid; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.check { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text); cursor: pointer; user-select: none; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check .box {
  position: relative; width: 36px; height: 20px; border-radius: 999px; flex: none; transition: all .2s;
  background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-2);
}
.check .box::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--n600); transition: transform .2s, background .2s; }
.check input:checked + .box { background: rgba(255, 116, 0, .2); box-shadow: inset 0 0 0 1px var(--orange-ring); }
.check input:checked + .box::after { transform: translateX(16px); background: var(--orange-2); }
.check input:focus-visible + .box { outline: 2px solid var(--orange); outline-offset: 2px; }

.btn-generate {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 17px 20px;
  border: 0; border-top: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; color: var(--on-orange);
  background: linear-gradient(90deg, #f06a00, var(--orange), #ff8f33);
  font-family: var(--display); font-weight: 900; font-size: 16px; letter-spacing: .02em;
  box-shadow: 0 8px 30px -5px rgba(255, 116, 0, .45); transition: filter .2s, box-shadow .2s, transform .2s;
}
.btn-generate:hover { filter: brightness(1.1); box-shadow: 0 8px 40px -5px rgba(255, 116, 0, .65); transform: translateY(-1px); }
.btn-generate:disabled { filter: grayscale(.7); opacity: .5; transform: none; cursor: not-allowed; }

/* atalho no topo para gerar o PDF (o botão do painel fica no fim da página) */
.gerar-topo { max-width: 420px; margin-top: 12px; padding: 14px 20px; font-size: 15px; }
/* data do culto não estoura o card no celular */
#stat-data { font-size: clamp(1.35rem, 6.5vw, 1.875rem); white-space: nowrap; }

/* modal */
.modal { border: 0; padding: 0; border-radius: 28px; width: min(760px, calc(100vw - 24px)); background: var(--surface); color: var(--text); box-shadow: 0 0 0 1px var(--line-2), 0 0 40px rgba(255, 116, 0, .15), 0 30px 80px -20px #000; }
.modal::backdrop { background: rgba(0, 0, 0, .75); backdrop-filter: blur(6px); }
.modal-card { padding: 26px; display: grid; gap: 14px; }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; }
.modal .fields { margin: 0; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--surface); color: var(--text); padding: 12px 18px; border-radius: 12px; font-size: 13px;
  box-shadow: 0 0 0 1px var(--line-2), 0 16px 40px -12px #000; transition: all .25s ease; max-width: calc(100vw - 32px); z-index: 60;
}
.toast::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--orange-2); margin-right: 10px; vertical-align: middle; box-shadow: 0 0 10px var(--orange); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error::before { background: var(--danger); box-shadow: 0 0 10px var(--danger); }

/* responsivo */
@media (max-width: 1180px) {
  .app-grid { grid-template-columns: minmax(280px, 1fr) minmax(360px, 1.5fr); }
  .panel { position: static; max-height: none; overflow: visible; }
  .panel-rep { grid-column: 1 / -1; display: grid !important; grid-template-columns: 1.4fr 1fr; align-items: start; }
}
@media (max-width: 820px) {
  .app-grid { grid-template-columns: 1fr; gap: 16px; }
  .panel-rep { grid-template-columns: 1fr; }
  .card { padding: 18px; }
  .chips { grid-template-columns: repeat(6, 1fr); }
  .fields-3 { grid-template-columns: 1fr 90px; }
  .fields-3 .field:last-child { grid-column: 1 / -1; }
  .chart { font-size: 12px; padding: 14px; }
  .key-now strong { font-size: 36px; }
}
@media (max-width: 420px) {
  .fields { grid-template-columns: 1fr; }
}

/* ---------- vídeos do YouTube ---------- */
.list-label {
  list-style: none; margin: 14px 2px 8px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--n400);
  display: flex; align-items: center; gap: 8px;
}
.list-label::after { content: ''; flex: 1; height: 1px; background: var(--line); }
#resultados .list-label { margin-top: 0; }
.videos { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.video {
  border-radius: 14px; overflow: hidden; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .2s, transform .2s;
}
.video:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
.video.current { box-shadow: inset 0 0 0 1px var(--orange), 0 0 24px -8px rgba(255, 116, 0, .5); }
.v-thumb { position: relative; aspect-ratio: 16 / 9; background: var(--bg); overflow: hidden; }
.v-thumb img, .v-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.v-thumb img { transition: transform .4s ease, filter .3s; }
.video:hover .v-thumb img { transform: scale(1.04); }
.v-dur {
  position: absolute; right: 8px; bottom: 8px; background: rgba(11, 10, 9, .85); color: var(--text);
  font-size: 11px; font-weight: 600; padding: 2px 6px; border-radius: 6px; letter-spacing: .02em;
}
.v-play {
  position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; border: 0;
  background: var(--orange); color: var(--on-orange); font-size: 18px; padding-left: 4px;
  box-shadow: 0 8px 26px -6px rgba(255, 116, 0, .8); opacity: .92; transition: transform .2s, opacity .2s;
}
.v-play:hover { transform: scale(1.1); opacity: 1; }
.v-body { padding: 10px 12px 12px; }
.v-title {
  font-size: 13.5px; font-weight: 600; line-height: 1.35; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.v-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 5px; font-size: 11.5px; color: var(--n400); }
.v-canal { font-weight: 500; }
.v-oficial {
  font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 1px 6px; border-radius: 5px;
  background: var(--orange); color: var(--on-orange);
}
.v-actions { display: grid; grid-template-columns: 1fr 1.2fr; gap: 6px; margin-top: 10px; }
.v-btn { padding: 8px 10px; font-size: 12px; text-align: center; }

.skeleton-video .v-thumb, .skeleton-video .v-lines span {
  background: linear-gradient(90deg, rgba(243,236,228,.03) 25%, rgba(243,236,228,.08) 50%, rgba(243,236,228,.03) 75%);
  background-size: 200% 100%; animation: shimmer 1.2s infinite;
}
.skeleton-video .v-lines { padding: 12px; display: grid; gap: 8px; }
.skeleton-video .v-lines span { display: block; height: 10px; border-radius: 6px; }
.skeleton-video .v-lines span:nth-child(2) { width: 70%; }
.skeleton-video .v-lines span:nth-child(3) { width: 45%; }

.yt-link {
  width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; font-size: 10px; text-decoration: none;
  color: var(--orange); background: var(--orange-soft);
}
.yt-link:hover { background: var(--orange); color: var(--on-orange); }

@media (min-width: 821px) and (max-width: 1180px) {
  .videos { grid-template-columns: 1fr; }
}
@media (min-width: 560px) and (max-width: 820px) {
  .videos { grid-template-columns: 1fr 1fr; }
}

/* ---------- lista e playlist do YouTube ---------- */
.yt-section { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.yt-head { display: flex; align-items: center; gap: 12px; }
.yt-head h3 { margin: 0; font-size: 17px; color: var(--text); }
.yt-head p { margin: 2px 0 0; font-size: 12px; color: var(--n400); }
.yt-logo {
  width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; font-size: 14px; padding-left: 2px;
  background: var(--orange-soft); color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange-ring);
}
.yt-montar { width: 100%; padding: 12px 16px; }
.yt-montar:disabled { cursor: wait; opacity: .7; }
.yt-progress { display: grid; gap: 6px; }
.yt-progress-text { font-size: 12px; color: var(--n400); }
.yt-bar { display: block; height: 4px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.yt-bar span { display: block; height: 100%; width: 0; background: var(--orange); border-radius: 99px; transition: width .3s ease; }

.yt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.yt-row {
  display: grid; grid-template-columns: 18px 64px minmax(0, 1fr); grid-template-areas: "num mini info" "num mini btn";
  column-gap: 10px; row-gap: 6px; align-items: center; padding: 8px; border-radius: 12px;
  background: rgba(243, 236, 228, .02); box-shadow: inset 0 0 0 1px var(--line);
}
.yt-row.sem-video { box-shadow: inset 0 0 0 1px rgba(255, 107, 92, .3); }
.yt-num { grid-area: num; font-family: var(--display); font-weight: 900; font-size: 14px; color: var(--n600); text-align: center; align-self: start; padding-top: 2px; }
.yt-mini {
  grid-area: mini; position: relative; width: 64px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--bg);
  display: grid; place-items: center; text-decoration: none; color: var(--n500); font-weight: 700; align-self: start;
}
.yt-mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.yt-mini span { position: relative; width: 20px; height: 20px; border-radius: 50%; background: var(--orange); color: var(--on-orange); font-size: 8px; display: grid; place-items: center; padding-left: 1px; opacity: .9; }
.yt-mini.vazio { box-shadow: inset 0 0 0 1px var(--line-2); }
.yt-info { grid-area: info; min-width: 0; }
.yt-info .t { font-weight: 600; font-size: 13px; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yt-info .a { font-size: 11.5px; color: var(--n400); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yt-info .v { font-size: 11px; color: var(--n500); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sem-video .yt-info .v { color: #ffb4a8; }
.yt-tom { display: inline-block; margin-left: 4px; font-size: 10.5px; font-weight: 700; color: var(--orange); background: var(--orange-soft); border-radius: 5px; padding: 0 5px; vertical-align: 1px; }
.yt-trocar { grid-area: btn; justify-self: start; padding: 5px 10px; font-size: 11.5px; border-radius: 7px; }

.yt-share { display: grid; gap: 10px; }
.yt-share .list-label { margin: 4px 2px 0; }
.yt-text {
  margin: 0; max-height: 220px; overflow: auto; padding: 12px 14px; border-radius: 12px; background: rgba(11, 10, 9, .75);
  box-shadow: inset 0 0 0 1px var(--line); font-family: 'Inter', sans-serif; font-size: 12px; line-height: 1.6; color: var(--text);
  white-space: pre-wrap; word-break: break-word;
}
.yt-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.yt-actions .btn { padding: 10px 8px; }
.btn-whats { background: #1f9d55; color: #fff; font-weight: 600; }
.btn-whats:hover { background: #25b863; }
.yt-playlist { width: 100%; padding: 12px 16px; }
.yt-dica { margin: 0 2px; }

.modal-videos { width: min(900px, calc(100vw - 24px)); max-height: calc(100vh - 32px); }
.modal-videos .modal-card { max-height: calc(100vh - 34px); overflow: auto; }
.videos-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important; }
@media (max-width: 420px) { .yt-actions { grid-template-columns: 1fr; } }

/* ---------- corrigir cifra ---------- */
.corr-badge { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 10px 0 0; font-size: 12px; }
.corr-badge span {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--on-orange);
  background: var(--orange); padding: 3px 8px; border-radius: 6px;
}
.corr-badge a { color: var(--n400); text-decoration: underline; text-decoration-color: var(--orange-ring); text-underline-offset: 3px; }
.corr-badge a:hover { color: var(--orange); }
.corr-tag {
  display: inline-block; margin-right: 6px; font-size: 9.5px; font-weight: 700; color: var(--orange);
  background: var(--orange-soft); border-radius: 4px; padding: 0 5px; vertical-align: 1px;
}
.versions.locked { opacity: .35; pointer-events: none; }

.editor { margin-top: 18px; display: grid; gap: 14px; }
.ed-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ed-badge {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--orange);
  background: var(--orange-soft); box-shadow: inset 0 0 0 1px var(--orange-ring); padding: 4px 9px; border-radius: 6px;
}
.ed-hint { font-size: 12px; color: var(--n400); }
.ed-fields { grid-template-columns: 1.4fr 1fr 110px; margin: 0; }
.ed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: stretch; }
.ed-pane { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ed-label { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--n500); display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.ed-label em { font-style: normal; text-transform: none; letter-spacing: 0; font-size: 11px; color: var(--n400); }
.ed-label em.warn { color: #ffb4a8; }
#ed-texto {
  flex: 1; min-height: 460px; resize: vertical; border: 0; border-radius: 16px; padding: 18px; outline: 0;
  background: rgba(11, 10, 9, .85); box-shadow: inset 0 0 0 1px var(--orange-ring); color: var(--text);
  font-family: var(--mono); font-size: 14px; line-height: 1.6; white-space: pre; overflow-wrap: normal; overflow-x: auto; tab-size: 4;
  caret-color: var(--orange);
}
#ed-texto:focus { box-shadow: inset 0 0 0 1px var(--orange), 0 0 0 4px rgba(255, 116, 0, .15); }
.ed-preview { margin: 0; flex: 1; min-height: 460px; max-height: 70vh; overflow: auto; }
.ed-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.ed-actions #ed-salvar { flex: 1; padding: 13px 18px; font-size: 14px; }
.ed-restaurar { color: #ffb4a8; }
.ed-restaurar:hover { border-color: rgba(255, 107, 92, .5); }
@media (max-width: 1400px) and (min-width: 1181px) {
  .ed-grid { grid-template-columns: 1fr; }
  .ed-preview { min-height: 240px; }
}
@media (max-width: 820px) {
  .ed-fields { grid-template-columns: 1fr 100px; }
  .ed-fields .field:first-child { grid-column: 1 / -1; }
  .ed-grid { grid-template-columns: 1fr; }
  #ed-texto { min-height: 320px; font-size: 12px; padding: 14px; }
  .ed-preview { min-height: 200px; max-height: 50vh; }
  .ed-actions {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    background: rgba(11, 10, 9, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line-2); flex-wrap: nowrap;
  }
  .ed-actions .btn { padding: 12px 12px; }
  body.editing-cifra { padding-bottom: 84px; }
  body.editing-cifra .toast { bottom: 92px; }
}

/* ---------- instalar / rede ---------- */
.btn-instalar { padding: 7px 12px; font-size: 12px; border-radius: 999px; }

/* ---------- vários cultos ---------- */
.cultos-bar { display: flex; gap: 8px; align-items: end; margin-bottom: 12px; }
.cultos-sel { flex: 1; min-width: 0; }
.cultos-sel select {
  width: 100%; border: 0; border-radius: 10px; padding: 10px 34px 10px 12px; background: rgba(0, 0, 0, .45); color: var(--text); outline: 0;
  box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--orange) 50%), linear-gradient(135deg, var(--orange) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.cultos-sel select:focus { box-shadow: inset 0 0 0 1px var(--orange), 0 0 0 4px rgba(255, 116, 0, .15); }
.cultos-sel select option { background: var(--surface); color: var(--text); }
.cultos-btns { display: flex; gap: 6px; }
.cultos-btns .icon-btn:disabled { opacity: .3; cursor: not-allowed; }
#culto-excluir:not(:disabled):hover { color: var(--danger); border-color: rgba(255, 107, 92, .5); }

.setlist-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.tool {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 6px; border: 0; border-radius: 10px;
  background: rgba(243, 236, 228, .03); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); font-size: 12px; font-weight: 500; transition: all .15s;
}
.tool:hover { box-shadow: inset 0 0 0 1px var(--orange-ring); background: var(--orange-soft); color: var(--orange); }
.tool svg { width: 15px; height: 15px; }

.key-tag small { font-size: 9px; margin-left: 3px; opacity: .8; }

/* histórico */
.hist { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 12px; }
.hist summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 600; color: var(--text); padding: 6px 2px; }
.hist summary::-webkit-details-marker { display: none; }
.hist summary small { font-size: 11px; color: var(--n500); font-weight: 400; }
.hist summary::after { content: '▾'; color: var(--n500); margin-left: 6px; transition: transform .2s; }
.hist[open] summary::after { transform: rotate(180deg); }
.hist-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 5px; }
.hist-row { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 10px; background: rgba(243, 236, 228, .02); box-shadow: inset 0 0 0 1px var(--line); }
.hist-info { flex: 1; min-width: 0; }
.hist-info .t { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hist-info .a { font-size: 11px; color: var(--n500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hist-n { flex: none; font-family: var(--display); font-weight: 900; color: var(--orange); font-size: 13px; min-width: 28px; text-align: center; }
.hist-add { flex: none; padding: 5px 9px; font-size: 11px; border-radius: 7px; }
.hist-add:disabled { opacity: .4; cursor: default; }

/* backup */
.dados-row { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 16px; font-size: 11.5px; color: var(--n600); flex-wrap: wrap; }
.link-mini { border: 0; background: none; color: var(--n400); font-size: 11.5px; padding: 4px 2px; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: all .15s; }
.link-mini:hover { color: var(--orange); text-decoration-color: var(--orange-ring); }
.import-opts { display: grid; gap: 10px; }
.import-opt { display: grid; gap: 4px; text-align: left; padding: 14px 16px; border: 0; border-radius: 14px; background: rgba(243, 236, 228, .03); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); transition: all .15s; }
.import-opt strong { font-size: 14px; }
.import-opt span { font-size: 12px; color: var(--n400); }
.import-opt:hover { box-shadow: inset 0 0 0 1px var(--orange); background: var(--orange-soft); }
.import-opt.danger:hover { box-shadow: inset 0 0 0 1px var(--danger); background: rgba(255, 107, 92, .08); }

/* compartilhar */
.modal-share { width: min(820px, calc(100vw - 24px)); }
.share-grid { display: grid; grid-template-columns: 260px 1fr; gap: 18px; align-items: start; }
.qr-box { background: #fff; border-radius: 16px; padding: 10px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.qr-box svg { width: 100%; height: 100%; display: block; }
.qr-loading { color: #333; font-size: 12px; text-align: center; padding: 12px; line-height: 1.5; }
.share-side { display: grid; gap: 10px; }
.share-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.share-aviso { margin: 0; }
.rec-lista { margin: 0; padding-left: 20px; font-size: 13px; line-height: 1.7; max-height: 220px; overflow: auto; }
.rec-lista span { color: var(--n500); }

/* letras para projeção */
.modal-letras { width: min(860px, calc(100vw - 24px)); max-height: calc(100vh - 32px); }
.modal-letras .modal-card { max-height: calc(100vh - 34px); overflow: auto; }
.letras-opts { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.letras-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.letras-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.letra-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(243, 236, 228, .02); box-shadow: inset 0 0 0 1px var(--line); }
.letra-info { min-width: 0; }
.letra-info .t { font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.letra-info .a { font-size: 11.5px; color: var(--n500); }
.letra-prev { grid-column: 1 / -1; margin: 0; max-height: 110px; overflow: auto; padding: 10px 12px; border-radius: 10px; background: rgba(11, 10, 9, .7); font-family: 'Inter', sans-serif; font-size: 12px; line-height: 1.5; color: var(--n400); white-space: pre-wrap; }

/* capotraste */
.capo-sug { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.capo-label { font-size: 11px; color: var(--n400); margin-right: 2px; }
.capo-chip { border: 0; border-radius: 999px; padding: 7px 12px; font-size: 12px; color: var(--text); background: rgba(243, 236, 228, .03); box-shadow: inset 0 0 0 1px var(--line-2); transition: all .15s; }
.capo-chip b { color: var(--orange); }
.capo-chip:hover { box-shadow: inset 0 0 0 1px var(--orange-ring); background: var(--orange-soft); }
.capo-chip.active { background: var(--orange); color: var(--on-orange); box-shadow: none; }
.capo-chip.active b { color: var(--on-orange); }
.capo-chip.off { color: var(--n400); }
.key-capo { display: inline-block; font-size: 11px; font-weight: 600; color: var(--orange); background: var(--orange-soft); box-shadow: inset 0 0 0 1px var(--orange-ring); border-radius: 999px; padding: 3px 9px; }
.chart-hint { margin: 14px 2px -8px; font-size: 11px; color: var(--n600); }
.chart .ch { cursor: pointer; border-radius: 3px; transition: background .12s; }
.chart .ch:hover { background: var(--orange-soft); }

/* popover do acorde */
.chord-pop {
  position: fixed; z-index: 80; width: 320px; border-radius: 18px; padding: 14px; background: var(--surface); color: var(--text);
  box-shadow: 0 0 0 1px var(--line-2), 0 0 40px rgba(255, 116, 0, .18), 0 24px 60px -20px #000; animation: logoIn .18s ease-out both;
}
.cp-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.cp-head strong { font-size: 26px; color: var(--orange); }
.cp-head span { flex: 1; font-size: 11px; color: var(--n400); }
.cp-x { border: 0; background: rgba(243, 236, 228, .06); color: var(--n400); width: 26px; height: 26px; border-radius: 50%; font-size: 11px; align-self: flex-start; }
.cp-x:hover { color: var(--text); background: rgba(243, 236, 228, .12); }
.cp-body { display: grid; grid-template-columns: 1fr; gap: 10px; }
.cp-guitar { display: grid; justify-items: center; gap: 4px; }
.cp-guitar .gtr { width: 150px; height: auto; }
.cp-nav { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--n400); }
.cp-nav button { border: 0; background: rgba(243, 236, 228, .06); color: var(--text); width: 26px; height: 26px; border-radius: 50%; font-size: 10px; }
.cp-nav button:disabled { opacity: .25; }
.cp-none { font-size: 12px; color: var(--n500); margin: 20px 0; }
.gtr .fret { stroke: #6b6158; stroke-width: 1; }
.gtr .str { stroke: #a99e92; stroke-width: 1; }
.gtr .nut { fill: #f3ece4; }
.gtr .dot { fill: var(--orange); }
.gtr .open { fill: none; stroke: #f3ece4; stroke-width: 1.5; }
.gtr .mark { fill: #8f8478; font-size: 11px; }
.gtr .pos { fill: #f3ece4; font-size: 11px; font-weight: 600; }
.piano { width: 100%; height: auto; }
.piano .wk { fill: #f3ece4; stroke: #16130f; stroke-width: 1; }
.piano .wk.on { fill: #ff9a40; }
.piano .wk.on.root, .piano .bk.on.root { fill: var(--orange); }
.piano .wk.on.bass, .piano .bk.on.bass { fill: #c75a00; }
.piano .bk { fill: #221d18; stroke: #0b0a09; stroke-width: 1; }
.piano .bk.on { fill: #ff9a40; }

/* ---------- Modo Palco ---------- */
.palco { position: fixed; inset: 0; z-index: 70; background: #000; color: var(--text); display: flex; flex-direction: column; }
body.palco-aberto { overflow: hidden; }
.palco-top { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: #0b0a09; border-bottom: 1px solid var(--line); }
.palco-title { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.palco-idx { font-size: 12px; color: var(--n500); }
.palco-title strong { font-size: clamp(16px, 2.4vw, 24px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60vw; }
.palco-meta { font-size: 12px; color: var(--n400); }
.palco-key { display: flex; flex-direction: column; align-items: flex-end; line-height: 1; font-family: var(--display); font-weight: 900; font-size: 26px; color: var(--orange); }
.palco-key small { font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--n500); font-family: 'Inter', sans-serif; font-weight: 500; margin-bottom: 3px; }
.palco-key em { font-style: normal; font-family: 'Inter', sans-serif; font-weight: 500; font-size: 11px; color: var(--n400); margin-top: 4px; }
.palco-body { flex: 1; overflow: auto; -webkit-overflow-scrolling: touch; padding: 18px clamp(14px, 4vw, 48px) 40vh; }
.palco-chart { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; line-height: 1.5; color: #fff; }
.palco-chart .ch { color: var(--orange); }
.palco-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #0b0a09; border-top: 1px solid var(--line); }
.palco-btn { border: 0; border-radius: 10px; padding: 10px 14px; background: rgba(243, 236, 228, .06); color: var(--text); font-size: 14px; font-weight: 600; white-space: nowrap; }
.palco-btn:hover { background: rgba(243, 236, 228, .12); }
.palco-btn:disabled { opacity: .25; }
.palco-play { background: var(--orange); color: var(--on-orange); }
.palco-play.on { background: #ff9a40; }
#palco-vel { width: 90px; accent-color: var(--orange); }
.palco-select { flex: 1; min-width: 0; border: 0; border-radius: 10px; padding: 10px; background: rgba(243, 236, 228, .06); color: var(--text); font-size: 13px; }
.palco-select option { background: var(--surface); }
@media (max-width: 820px) {
  .share-grid { grid-template-columns: 1fr; }
  .qr-box { max-width: 300px; margin: 0 auto; }
  .setlist-tools { grid-template-columns: 1fr 1fr; }
  .setlist-tools .tool:last-child { grid-column: 1 / -1; }
  .letra-row { grid-template-columns: 1fr auto; }
  .letra-row [data-act="copiar"] { display: none; }
  .palco-top { padding: 8px 10px; gap: 8px; }
  .palco-key { font-size: 20px; }
  .palco-bar { flex-wrap: wrap; justify-content: center; }
  .palco-select { order: 10; flex-basis: 100%; }
  #palco-vel { width: 70px; }
  .chord-pop { width: calc(100vw - 16px) !important; left: 8px !important; }
}

.pdf-modelo { margin-top: 4px; }

/* ---------- partes da música no editor ---------- */
.ed-blocos { display: grid; gap: 8px; padding: 12px; border-radius: 16px; background: rgba(243, 236, 228, .02); box-shadow: inset 0 0 0 1px var(--line); }
.ed-blocos-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ed-blocos-tools { display: flex; gap: 6px; flex-wrap: wrap; }
.ed-mini { padding: 6px 10px; font-size: 12px; border-radius: 8px; }
.ed-mini:disabled { opacity: .4; cursor: default; }
.ed-blocos-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; max-height: 260px; overflow: auto; scrollbar-width: thin; }
.ed-bloco { display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 10px; border-radius: 10px; background: rgba(11, 10, 9, .5); box-shadow: inset 0 0 0 1px var(--line); }
.ed-bloco.copia { box-shadow: inset 0 0 0 1px var(--orange-ring); background: var(--orange-soft); }
.ed-bloco-info { flex: 1; min-width: 0; border: 0; background: none; text-align: left; padding: 0; color: var(--text); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; cursor: pointer; }
.ed-bloco-info strong { font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--orange); white-space: nowrap; }
.ed-bloco-info .t { font-size: 12.5px; flex: 1; min-width: 120px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-bloco-info .m { font-size: 11px; color: var(--n500); white-space: nowrap; }
.ed-bloco-info .m b { color: var(--orange); font-weight: 600; }
.ed-bloco-info:hover .t { text-decoration: underline; text-decoration-color: var(--orange-ring); }
.ed-bloco-acts { display: flex; gap: 2px; flex: none; }
.ed-bloco-acts button { border: 0; background: transparent; width: 26px; height: 26px; border-radius: 7px; color: var(--n400); font-size: 11px; display: grid; place-items: center; }
.ed-bloco-acts button:hover { background: rgba(243, 236, 228, .08); color: var(--text); }
.ed-bloco-acts button.del:hover { background: rgba(255, 107, 92, .15); color: var(--danger); }
.ed-bloco-acts button:disabled { opacity: .25; cursor: default; background: none; }
@media (max-width: 820px) { .ed-blocos-list { max-height: 200px; } .ed-bloco-info .m { display: none; } }
