/* Toca Aí — tema escuro, vibe de palco/bar (âmbar quente + magenta neon) */
:root {
    --bg: #0e0b14;
    --bg-2: #14101c;
    --surface: #1a1524;
    --surface-2: #221b30;
    --surface-3: #2a2238;
    --border: #2d2640;
    --border-2: #3b3354;
    --text: #f4f1f8;
    --muted: #a99fc0;
    --muted-2: #786f93;
    --accent: #fb923c;
    --accent-2: #f97316;
    --accent-soft: rgba(251, 146, 60, .14);
    --pink: #ec4899;
    --grad: linear-gradient(135deg, #fbbf24 0%, #fb7185 55%, #ec4899 100%);
    --grad-soft: linear-gradient(135deg, rgba(251,146,60,.18), rgba(236,72,153,.16));
    --success: #34d399;
    --success-soft: rgba(52, 211, 153, .14);
    --danger: #fb7185;
    --danger-soft: rgba(251, 113, 133, .14);
    --warning: #fbbf24;
    --radius: 16px;
    --radius-sm: 12px;
    --radius-xs: 9px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.4);
    --shadow: 0 10px 30px -10px rgba(0,0,0,.6);
    --shadow-lg: 0 24px 60px -16px rgba(0,0,0,.7);
    --ring: 0 0 0 3px rgba(251, 146, 60, .22);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    background:
        radial-gradient(1100px 600px at 78% -8%, rgba(236, 72, 153, .12), transparent 60%),
        radial-gradient(900px 500px at 8% 0%, rgba(251, 146, 60, .10), transparent 55%),
        var(--bg);
    background-attachment: fixed;
    color: var(--text);
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    touch-action: manipulation;
    -webkit-text-size-adjust: 100%;
}
input, select, textarea { font-size: 16px; }
@media (min-width: 640px) { .form input, .form textarea, .form select { font-size: 15px; } }

a { color: var(--accent); text-decoration: none; transition: color .12s, opacity .12s; }
a:hover { color: var(--accent-2); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .4em; }
svg.icon { display: inline-block; vertical-align: -3px; flex-shrink: 0; }
.muted { color: var(--muted); }
.text-grad {
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Page load bar ---------- */
#pageload-bar {
    position: fixed; top: 0; left: 0; right: 0; height: 3px;
    background: var(--grad); background-size: 300% 100%;
    transform: scaleX(0); transform-origin: 0 0;
    z-index: 10000; transition: transform .3s ease, opacity .3s;
    pointer-events: none; box-shadow: 0 0 14px rgba(251, 146, 60, .7);
}
#pageload-bar.active { animation: bar-shimmer 1.4s linear infinite; }
@keyframes bar-shimmer { 0% { background-position: 0 0; } 100% { background-position: 300% 0; } }

/* ---------- Flash ---------- */
.flash {
    position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
    z-index: 9999; padding: 12px 18px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 14px; box-shadow: var(--shadow-lg);
    max-width: 92vw; backdrop-filter: blur(8px);
}
.flash-success { background: var(--success-soft); color: #6ee7b7; border: 1px solid rgba(52,211,153,.4); }
.flash-error   { background: var(--danger-soft);  color: #fda4af; border: 1px solid rgba(251,113,133,.4); }

/* ---------- Botões ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 18px; border-radius: var(--radius-sm); border: 1px solid transparent;
    font: inherit; font-weight: 700; font-size: 15px; cursor: pointer;
    transition: transform .12s, box-shadow .15s, background .15s, border-color .15s;
    white-space: nowrap; text-decoration: none;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
    background: var(--grad); color: #1a0f00;
    box-shadow: 0 8px 22px -8px rgba(251, 146, 60, .6);
}
.btn-primary:hover { color: #1a0f00; box-shadow: 0 10px 28px -8px rgba(236, 72, 153, .6); }
.btn-ghost { background: var(--surface-2); color: var(--text); border-color: var(--border-2); }
.btn-ghost:hover { background: var(--surface-3); color: var(--text); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-danger { background: var(--danger-soft); color: #fda4af; border-color: rgba(251,113,133,.4); }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-sm { padding: 8px 13px; font-size: 13.5px; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 15px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; color: var(--muted); }
.form input, .form textarea, .form select {
    background: var(--bg-2); border: 1px solid var(--border-2); color: var(--text);
    border-radius: var(--radius-xs); padding: 11px 13px; font-family: inherit; width: 100%;
    transition: border-color .15s, box-shadow .15s;
}
.form input:focus, .form textarea:focus, .form select:focus {
    outline: none; border-color: var(--accent); box-shadow: var(--ring);
}
.form input::placeholder, .form textarea::placeholder { color: var(--muted-2); }

/* ---------- Auth ---------- */
.auth-shell {
    min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 22px; padding: 28px 18px; animation: page-fade .35s ease both;
}
.auth-card {
    width: 100%; max-width: 400px; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 30px 28px; box-shadow: var(--shadow-lg);
}
.auth-card h1 { font-size: 26px; }
.auth-forgot { text-align: right; font-size: 13.5px; margin-top: -4px; }
.auth-foot { margin-top: 20px; text-align: center; font-size: 14px; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--text); }
.brand:hover { color: var(--text); }
.brand-mark { display: inline-flex; }
.brand-text { letter-spacing: -.02em; }

/* ---------- Layout utils ---------- */
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.content { animation: page-fade .35s ease both; }
@keyframes page-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Topbar ---------- */
.topbar {
    position: sticky; top: 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px; background: rgba(14, 11, 20, .82); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.topbar .nav { display: flex; align-items: center; gap: 8px; }

/* ---------- Cards ---------- */
.card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm);
}
.grid { display: grid; gap: 16px; }
.stat {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px 22px;
}
.stat .v { font-size: 30px; font-weight: 800; letter-spacing: -.03em; }
.stat .l { color: var(--muted); font-size: 13.5px; font-weight: 600; }

/* ---------- Pages: 403/404 + dashboard stub ---------- */
.center-msg, .errpage {
    min-height: 70vh; display: flex; flex-direction: column; align-items: center;
    justify-content: center; text-align: center; gap: 10px; padding: 40px 20px;
}
.center-msg h1, .errpage h1 {
    font-size: 72px; margin: 0; font-weight: 800;
    background: var(--grad); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.errpage p { color: var(--muted); margin: 0 0 14px; }

/* ===================== LANDING ===================== */
.lp-nav { position: sticky; top: 0; z-index: 50; background: rgba(14,11,20,.7); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.lp-nav .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.hero { position: relative; padding: 76px 0 64px; overflow: hidden; animation: page-fade .4s ease both; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700;
    color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(251,146,60,.3);
    padding: 6px 13px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 800; max-width: 16ch; }
.hero p.lead { font-size: clamp(16px, 2.2vw, 20px); color: var(--muted); max-width: 52ch; margin: 18px 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: flex; gap: 30px; margin-top: 44px; }
.hero-stats .v { font-size: 26px; font-weight: 800; }
.hero-stats .l { font-size: 13px; color: var(--muted); }

.section { padding: 56px 0; }
.section-title { text-align: center; font-size: clamp(24px, 4vw, 34px); font-weight: 800; margin-bottom: 8px; }
.section-sub { text-align: center; color: var(--muted); max-width: 56ch; margin: 0 auto 40px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.step-ico {
    width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    background: var(--grad-soft); color: var(--accent); margin-bottom: 16px; border: 1px solid rgba(251,146,60,.25);
}
.step-n { position: absolute; top: 18px; right: 20px; font-size: 38px; font-weight: 800; color: var(--surface-3); }
.step h3 { font-size: 18px; }
.step p { color: var(--muted); font-size: 14.5px; margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.feature .ico { color: var(--pink); margin-bottom: 12px; }
.feature h3 { font-size: 17px; }
.feature p { color: var(--muted); font-size: 14px; margin: 0; }

.cta-band {
    background: var(--grad-soft); border: 1px solid var(--border-2); border-radius: 22px;
    padding: 44px 32px; text-align: center; margin: 8px 0 0;
}
.cta-band h2 { font-size: clamp(24px, 4vw, 32px); }

.lp-foot { border-top: 1px solid var(--border); padding: 30px 0; color: var(--muted-2); font-size: 13.5px; text-align: center; margin-top: 56px; }

@media (max-width: 760px) {
    .steps, .features { grid-template-columns: 1fr; }
    .hero-stats { gap: 22px; flex-wrap: wrap; }
}

/* ===================== APP (admin/painel) ===================== */
.brand-tag { color: var(--muted); font-size: 13px; font-weight: 600; }
.tnav { display: flex; align-items: center; gap: 4px; margin: 0 auto 0 10px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.tnav::-webkit-scrollbar { display: none; }
.tnav-link {
    display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 10px;
    color: var(--muted); font-weight: 600; font-size: 14px; white-space: nowrap; transition: background .14s, color .14s;
}
.tnav-link:hover { background: var(--surface-2); color: var(--text); }
.tnav-link.active { background: var(--accent-soft); color: var(--accent); }
.who { font-size: 14px; }
@media (max-width: 720px) { .who { display: none; } .tnav-link span { display: none; } .tnav-link { padding: 8px 10px; } }
@media (max-width: 480px) { .hide-sm { display: none; } }

/* tabela / lista */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
table.tbl th { text-align: left; padding: 13px 16px; color: var(--muted); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--border); white-space: nowrap; }
table.tbl td { padding: 13px 16px; border-bottom: 1px solid var(--border); }
table.tbl tr:last-child td { border-bottom: none; }
table.tbl tbody tr { transition: background .12s; }
table.tbl tbody tr.row-link { cursor: pointer; }
table.tbl tbody tr.row-link:hover { background: var(--surface-2); }

/* badge / pill */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.badge-on { background: var(--success-soft); color: #6ee7b7; }
.badge-off { background: var(--danger-soft); color: #fda4af; }
.badge-muted { background: var(--surface-3); color: var(--muted); }
.code-pill { font-family: ui-monospace, Menlo, monospace; background: var(--surface-3); border: 1px solid var(--border-2); border-radius: 8px; padding: 3px 9px; font-weight: 700; letter-spacing: .1em; font-size: 13px; }

/* page header */
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head h1 { font-size: 24px; margin: 0; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: 14px; margin-bottom: 14px; }
.back-link:hover { color: var(--text); }

/* form layout */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field-hint { font-size: 12.5px; color: var(--muted-2); font-weight: 500; margin-top: 2px; }
.form textarea { resize: vertical; min-height: 90px; }

/* toggle / check rows */
.check-row { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; background: var(--bg-2); border: 1px solid var(--border-2); border-radius: var(--radius-xs); cursor: pointer; }
.check-row input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex-shrink: 0; }
.check-row .t { font-weight: 700; font-size: 14.5px; }
.check-row .d { color: var(--muted); font-size: 13px; }

/* avatar */
.avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--surface-3); border: 1px solid var(--border-2); }
.avatar-lg { width: 100px; height: 100px; }
.avatar-ph { display: inline-flex; align-items: center; justify-content: center; color: var(--muted-2); background: var(--surface-3); border-radius: 50%; border: 1px solid var(--border-2); }

.flex { display: flex; align-items: center; gap: 12px; }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.divider { height: 1px; background: var(--border); margin: 24px 0; border: none; }

/* ---------- Modal (Promise-based, do app.js) ---------- */
.modal-backdrop {
    position: fixed; inset: 0; z-index: 9998;
    background: rgba(4, 2, 8, .62); backdrop-filter: blur(5px);
    display: grid; place-items: center; padding: 20px;
    animation: backdrop-in .18s ease;
}
.modal-backdrop.closing { animation: backdrop-out .15s ease both; }
@keyframes backdrop-in  { from { opacity: 0; } to { opacity: 1; } }
@keyframes backdrop-out { to   { opacity: 0; } }
.modal-card {
    width: 100%; max-width: 400px; background: var(--surface);
    border: 1px solid var(--border-2); border-radius: var(--radius);
    padding: 26px 24px; box-shadow: var(--shadow-lg); text-align: center;
    animation: card-in .22s cubic-bezier(.2,.8,.2,1) both;
}
.modal-card.closing { animation: backdrop-out .15s ease both; }
@keyframes card-in { 0% { opacity: 0; transform: translateY(16px) scale(.94); } 100% { opacity: 1; transform: none; } }
.modal-ico {
    width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 14px;
    display: flex; align-items: center; justify-content: center;
    background: var(--danger-soft); color: #fda4af;
}
.modal-card h2 { font-size: 19px; margin: 0 0 6px; }
.modal-card p { color: var(--muted); margin: 0 0 20px; font-size: 14.5px; }
.modal-actions { display: flex; gap: 10px; justify-content: center; }
.modal-actions .btn { min-width: 110px; }

/* ============================================================
   F2 — Página pública do cantor (cardápio) + cartaz de QR
   ============================================================ */

/* ---------- Página pública do cantor ---------- */
.artist-wrap { max-width: 560px; margin: 0 auto; padding: 28px 20px 8px; animation: page-fade .4s ease both; }
.artist-hero { text-align: center; padding: 30px 24px 26px; }
.artist-ava { margin-bottom: 16px; }
.avatar-xl { width: 132px; height: 132px; border: 2px solid var(--border-2); box-shadow: var(--shadow); }
.avatar-ph.avatar-xl { color: var(--accent); background: var(--grad-soft); }
.artist-name { font-size: clamp(26px, 7vw, 34px); font-weight: 800; margin: 0 0 12px; }
.artist-bio { color: var(--muted); font-size: 15px; margin: 16px 0 0; white-space: pre-line; }
.artist-genres { color: var(--muted-2); font-size: 13.5px; margin: 12px 0 0; display: inline-flex; align-items: center; gap: 6px; }

.artist-cta { margin-top: 16px; padding: 22px; }
.cta-price { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.cta-price-label { color: var(--muted); font-size: 14px; font-weight: 600; }
.cta-price-value { font-size: 28px; font-weight: 800; }
.cta-note { font-size: 13px; text-align: center; margin: 12px 0 0; }

.artist-steps { margin-top: 18px; display: grid; gap: 10px; }
.astep { display: flex; align-items: center; gap: 13px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 13px 15px; }
.astep-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; background: var(--grad-soft); color: var(--accent); }
.astep div { display: flex; flex-direction: column; line-height: 1.35; }
.astep b { font-size: 14.5px; }
.astep span { color: var(--muted); font-size: 13px; }

/* ---------- Cartaz de QR (admin) ---------- */
.qr-controls { border-bottom: 1px solid var(--border); background: rgba(14,11,20,.7); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 50; padding: 12px 0; }
.qr-controls .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qr-controls .back-link { margin-bottom: 0; }
.qr-controls-actions { display: flex; gap: 8px; }

.poster-stage { display: flex; justify-content: center; padding: 36px 20px 56px; }
.poster {
    width: 100%; max-width: 420px; background: #fff; color: #15101f;
    border-radius: 22px; padding: 34px 30px 26px; text-align: center;
    box-shadow: var(--shadow-lg);
}
.poster-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; color: #15101f; }
.poster-kicker { text-transform: uppercase; letter-spacing: .22em; font-size: 11px; font-weight: 700; color: #b03b86; margin-top: 2px; }
.poster-title { font-size: 30px; font-weight: 800; margin: 18px 0 2px; color: #15101f; }
.poster-artist { font-size: 16px; color: #5b5470; margin: 0 0 20px; }
.poster-artist b { color: #15101f; }

.qr-box { width: 100%; max-width: 280px; margin: 0 auto 16px; padding: 14px; background: #fff; border: 2px solid #15101f; border-radius: 16px; }
.qr-box svg { display: block; width: 100%; height: auto; }
.qr-box svg path { fill: #15101f; }

.poster-scan { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14.5px; color: #15101f; margin: 0 0 18px; }
.poster-steps { text-align: left; max-width: 270px; margin: 0 auto 20px; padding-left: 22px; color: #3a3450; font-size: 14px; line-height: 1.7; }
.poster-steps li { margin-bottom: 2px; }
.poster-foot { border-top: 1px dashed #d9d3e4; padding-top: 14px; font-size: 12.5px; color: #6b6480; }
.poster-foot b { color: #15101f; }
.poster-code { display: block; margin-top: 6px; font-family: ui-monospace, Menlo, monospace; font-weight: 800; letter-spacing: .22em; font-size: 17px; color: #b03b86; }

/* ---------- Impressão do cartaz ---------- */
@media print {
    body { background: #fff !important; }
    #pageload-bar, .flash, .qr-controls { display: none !important; }
    .poster-stage { padding: 0; }
    .poster { box-shadow: none; max-width: 460px; margin: 0 auto; }
    @page { margin: 14mm; }
}

/* ============================================================
   F3 — Busca de música (pedir) + confirmação (checkout)
   ============================================================ */
.genres-note { display: flex; align-items: center; gap: 8px; background: var(--grad-soft); border: 1px solid var(--border-2); border-radius: var(--radius-sm); padding: 10px 14px; font-size: 13.5px; color: var(--muted); margin: 14px 0 4px; }
.genres-note b { color: var(--text); }

.search-box { position: relative; margin: 16px 0 18px; }
.search-box .search-ico { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted-2); pointer-events: none; }
.search-box input { width: 100%; padding: 14px 16px 14px 44px; font-size: 16px; background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius-sm); color: var(--text); outline: none; transition: border-color .12s, box-shadow .12s; }
.search-box input:focus { border-color: var(--accent); box-shadow: var(--ring); }
.search-box input::placeholder { color: var(--muted-2); }

.track-list { display: grid; gap: 8px; }
.search-state { text-align: center; color: var(--muted); padding: 24px 0; font-size: 14px; }
.track { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; }
.track-cover { width: 52px; height: 52px; border-radius: 9px; object-fit: cover; flex-shrink: 0; background: var(--surface-3); }
.track-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.track-meta b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-meta span { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track-play { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-3); color: var(--text); border: 1px solid var(--border-2); cursor: pointer; transition: background .12s, color .12s, transform .1s; }
.track-play:hover { background: var(--surface-2); color: var(--accent); }
.track-play:active { transform: scale(.92); }
.track-play.playing { background: var(--grad); color: #1a0f00; border-color: transparent; }
.track-pick { flex-shrink: 0; }

/* Checkout */
.pick-card { display: flex; align-items: center; gap: 14px; }
.pick-cover { width: 64px; height: 64px; border-radius: 11px; object-fit: cover; flex-shrink: 0; background: var(--surface-3); }
.pick-cover-ph { display: inline-flex; align-items: center; justify-content: center; color: var(--accent); background: var(--grad-soft); }
.pick-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.35; }
.pick-meta b { font-size: 16px; }
.pick-meta > span { font-size: 14px; color: var(--muted); }
.lyrics-box { margin-top: 12px; border-top: 1px solid var(--border); padding-top: 10px; }
.lyrics-box summary { cursor: pointer; font-size: 13.5px; color: var(--accent); font-weight: 600; }
.lyrics-text { white-space: pre-wrap; font-family: inherit; font-size: 13.5px; color: var(--muted); line-height: 1.6; margin: 12px 0 0; max-height: 320px; overflow: auto; }
.cta-stub .btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ============================================================
   F4 — Pagamento PIX + conta Mercado Pago
   ============================================================ */
/* Estados do pedido */
.pay-state { text-align: center; padding: 28px 22px; }
.pay-state h1 { font-size: 21px; margin: 12px 0 6px; }
.pay-ico { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--success-soft); color: #6ee7b7; }
.pay-ico-off { background: var(--danger-soft); color: #fda4af; }

/* PIX */
.pay-pix { padding: 22px; }
.pix-qr { display: flex; justify-content: center; margin: 18px 0; }
.pix-qr img { width: 230px; height: 230px; border-radius: 14px; background: #fff; padding: 10px; box-shadow: var(--shadow); }
.pix-cp-label { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.pix-cp { display: flex; gap: 8px; }
.pix-cp input { flex: 1; min-width: 0; padding: 11px 12px; font-size: 13px; font-family: ui-monospace, Menlo, monospace; background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius-sm); color: var(--text); }
.pix-cp .btn { flex-shrink: 0; }
.pix-waiting { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 20px; color: var(--muted); font-size: 14px; font-weight: 600; }
.pix-spinner { width: 16px; height: 16px; border: 2.5px solid var(--border-2); border-top-color: var(--accent); border-radius: 50%; animation: pix-spin .8s linear infinite; }
@keyframes pix-spin { to { transform: rotate(360deg); } }

/* Conta MP */
.mp-card { display: grid; gap: 14px; margin-top: 16px; }
.mp-status { display: flex; align-items: center; gap: 12px; }
.mp-status > div { display: flex; flex-direction: column; line-height: 1.4; }
.mp-status b { font-size: 15px; }
.mp-status span { font-size: 13px; }
.mp-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.mp-on .mp-dot  { background: var(--success); box-shadow: 0 0 0 4px var(--success-soft); }
.mp-off .mp-dot { background: var(--muted-2); box-shadow: 0 0 0 4px var(--surface-3); }
