/* =========================================================
   Pulso — Campanhas e Modelos de e-mail (prefixo .cp-)
   ========================================================= */

.cp-center { text-align: center; }

/* ---------- Lista de campanhas ---------- */
.cp-panel { padding: 0; overflow: hidden; }
.cp-panel-head { padding: 4px 18px 0; border-bottom: 1px solid var(--line); }
.cp-panel-head .tabs { border-bottom: 0; }
.cp-toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.cp-toolbar .input-icon { flex: 1 1 240px; max-width: 380px; }
.cp-toolbar .select { width: auto; min-width: 170px; }
.cp-body { padding: 4px 6px 14px; }
.cp-table { min-width: 860px; }
.cp-table td { padding: 14px; }
.cp-name { display: flex; align-items: center; gap: 12px; min-width: 240px; max-width: 420px; }
.cp-name .grow b { display: block; font-weight: 500; color: var(--text); }
.cp-name .grow span { display: block; }
.cp-rate { min-width: 86px; }
.cp-rate .progress { height: 4px; margin-top: 6px; width: 70px; }
.cp-sending { margin-top: 8px; width: 140px; }
.cp-sending .progress { height: 4px; }
.cp-aud { max-width: 200px; }
.cp-date { min-width: 150px; white-space: nowrap; }

.cp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; padding: 16px 12px 6px; }
.cp-card { overflow: hidden; display: flex; flex-direction: column; cursor: pointer; }
.cp-card-media { position: relative; padding: 10px 10px 0; }
.cp-card-media .cp-thumb { border-radius: 14px 14px 0 0; }
.cp-card-status { position: absolute; top: 20px; left: 20px; z-index: 2; }
.cp-card-status .badge { background: rgba(10, 10, 10, 0.78); backdrop-filter: blur(6px); }
.cp-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; border-top: 1px solid var(--line); }
.cp-card-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: 12px; margin-top: auto; border-top: 1px solid var(--line); }
.cp-card-stats b { display: block; font-size: 15px; font-variant-numeric: tabular-nums; }

/* ---------- Miniaturas de e-mail ---------- */
.cp-thumb { position: relative; overflow: hidden; background: #eef2f6; border-radius: 16px; isolation: isolate; }
.cp-thumb iframe { position: absolute; top: 0; left: 0; width: 640px; height: 1700px; border: 0; transform: scale(var(--s, 0.42)); transform-origin: 0 0; pointer-events: none; background: #eef2f6; }
.cp-thumb::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 36%; background: linear-gradient(to bottom, rgba(10, 10, 10, 0), rgba(10, 10, 10, 0.28)); pointer-events: none; }

/* ---------- Nova campanha ---------- */
.cp-types { align-items: stretch; }
.cp-type { display: flex; flex-direction: column; gap: 14px; padding: 24px; min-height: 320px; text-align: left; color: inherit; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.cp-type:hover { transform: translateY(-4px); }
.cp-type ul { display: flex; flex-direction: column; gap: 8px; }
.cp-type li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; }
.cp-type li .iconify { margin-top: 2px; font-size: 15px; }
.cp-type .cp-type-go, .cp-opt .cp-type-go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: 13px; }
.cp-type-go .iconify { transition: transform 0.25s var(--ease); }
.cp-type:hover .cp-type-go .iconify, .cp-opt:hover .cp-type-go .iconify { transform: translateX(4px); }
.cp-starters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cp-starter { text-align: left; overflow: hidden; display: flex; flex-direction: column; }
.cp-starter .cp-thumb { border-radius: 14px 14px 0 0; margin: 8px 8px 0; }
.cp-starter-body { padding: 12px 14px; border-top: 1px solid var(--line); }
@media (max-width: 1180px) { .cp-starters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1024px) { .cp-types.g-3 { grid-template-columns: minmax(0, 1fr); } .cp-type { min-height: 0; } }
@media (max-width: 560px) { .cp-starters { grid-template-columns: minmax(0, 1fr); } }

.cp-src { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); text-align: left; transition: border-color 0.2s, background 0.2s; }
.cp-src:hover { border-color: rgba(52, 211, 153, 0.5); background: rgba(16, 185, 129, 0.06); }
.cp-src + .cp-src { margin-top: 8px; }

/* ---------- Assistente ---------- */
.cp-stepper { display: flex; align-items: center; margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; padding: 4px; gap: 4px; }
.cp-stepper::-webkit-scrollbar { display: none; }
.cp-step { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 16px; color: var(--subtle); text-align: left; flex-shrink: 0; transition: background 0.2s, color 0.2s; }
.cp-step:hover { background: rgba(255, 255, 255, 0.04); color: var(--text-2); }
.cp-step .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; border: 1px solid var(--line-2); flex-shrink: 0; transition: background 0.2s, box-shadow 0.2s; }
.cp-step small { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--subtle); }
.cp-step b { font-weight: 500; font-size: 13px; white-space: nowrap; }
.cp-step.active { background: rgba(255, 255, 255, 0.07); color: var(--text); }
.cp-step.active .n { background: var(--cyan); border-color: var(--cyan-2); color: #fff; box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.16); }
.cp-step.done .n { background: var(--emerald); border-color: var(--emerald-2); color: #fff; }
.cp-step-line { flex: 1 1 24px; min-width: 14px; height: 1px; background: var(--line-2); }
.cp-step-line.done { background: linear-gradient(90deg, var(--emerald-2), rgba(255, 255, 255, 0.14)); }

.cp-wizard { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.cp-side { position: sticky; top: calc(var(--topbar-h) + 20px); display: flex; flex-direction: column; gap: 16px; }
.cp-aud-num { font-size: 40px; font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; }
.cp-sum-row { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 12px; }
.cp-sum-row:last-of-type { border-bottom: 0; }
.cp-sum-row > span:first-child { width: 86px; flex-shrink: 0; color: var(--subtle); }
.cp-sum-row > span:last-child { min-width: 0; color: var(--text-2); overflow-wrap: anywhere; }
@media (max-width: 1180px) {
  .cp-wizard { grid-template-columns: minmax(0, 1fr); }
  .cp-side { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cp-side > :last-child { display: none; }
}
@media (max-width: 760px) { .cp-side { grid-template-columns: minmax(0, 1fr); } }

.cp-sec-head { display: flex; gap: 12px; align-items: flex-start; }
.cp-footbar {
  position: sticky; bottom: 16px; z-index: 20; margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 10px 10px 10px 14px; border-radius: 20px; background: rgba(22, 22, 24, 0.9); border: 1px solid var(--line-2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow-lg);
}
@media (max-width: 560px) {
  .cp-footbar { bottom: 8px; }
  .cp-footbar .cp-foot-info { display: none; }
  .cp-footbar .btn { padding: 0 11px; }
}

.cp-subject-wrap { position: relative; }
.cp-subject-wrap .input { padding-right: 168px; }
.cp-subject-tools { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); display: flex; gap: 2px; }
@media (max-width: 560px) {
  .cp-subject-wrap .input { padding-right: 12px; }
  .cp-subject-tools { position: static; transform: none; margin-top: 6px; }
}
.cp-score { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.cp-score-bar { width: 96px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.cp-score-bar span { display: block; height: 100%; border-radius: inherit; transition: width 0.5s var(--ease), background 0.3s; }
.cp-tips { margin-top: 8px; display: flex; flex-direction: column; gap: 4px; }
.cp-tips div { display: flex; gap: 6px; font-size: 11px; color: var(--muted); }
.cp-tips .iconify { color: var(--yellow); margin-top: 2px; }
.cp-emoji { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; padding: 10px; }
.cp-emoji button { height: 36px; border-radius: 10px; font-size: 18px; }
.cp-emoji button:hover { background: rgba(255, 255, 255, 0.08); }

/* Caixa de entrada simulada */
.cp-inbox { background: #fff; color: #0f172a; border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.12); font-family: var(--font); }
.cp-inbox-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #f1f5f9; font-size: 12px; color: #475569; }
.cp-inbox-bar .ml-auto { margin-left: auto; }
.cp-inbox-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid #e2e8f0; font-size: 13px; }
.cp-inbox-row.is-new { background: #ecfeff; box-shadow: inset 3px 0 0 #06b6d4; }
.cp-inbox-row.is-old { opacity: 0.5; }
.cp-inbox-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; flex-shrink: 0; }
.cp-inbox-main { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.cp-inbox-from { width: 140px; flex-shrink: 0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-inbox-row.is-old .cp-inbox-from, .cp-inbox-row.is-old b { font-weight: 500; }
.cp-inbox-text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #64748b; }
.cp-inbox-text b { color: #0f172a; }
.cp-inbox-time { font-size: 11px; color: #64748b; flex-shrink: 0; }
@media (max-width: 640px) {
  .cp-inbox-row { align-items: flex-start; }
  .cp-inbox-main { flex-direction: column; align-items: flex-start; gap: 2px; }
  .cp-inbox-from { width: auto; }
  .cp-inbox-text { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

.cp-switch-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.cp-switch-row:last-child { border-bottom: 0; padding-bottom: 0; }

/* A/B */
.cp-ab-a { min-height: 38px; display: flex; align-items: center; padding: 0 12px; border-radius: var(--r-sm); background: rgba(6, 182, 212, 0.08); border: 1px dashed rgba(34, 211, 238, 0.35); font-size: 13px; }
.cp-split { display: flex; height: 34px; border-radius: 12px; overflow: hidden; font-size: 11px; font-weight: 600; gap: 2px; }
.cp-split > div { display: flex; align-items: center; justify-content: center; transition: flex-basis 0.35s var(--ease); white-space: nowrap; overflow: hidden; min-width: 0; padding: 0 6px; }
.cp-split .a { background: var(--cyan); color: #fff; }
.cp-split .b { background: #9333ea; color: #fff; }
.cp-split .w { background: rgba(255, 255, 255, 0.08); color: var(--text-2); }

/* Destinatários */
.cp-aud-bar { display: flex; align-items: center; gap: 16px; padding: 16px 20px; flex-wrap: wrap; }
.cp-pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.cp-pick {
  position: relative; display: flex; align-items: flex-start; gap: 12px; padding: 14px; border-radius: 16px; text-align: left;
  background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.cp-pick:hover { border-color: var(--line-2); background: rgba(255, 255, 255, 0.045); }
.cp-pick:active { transform: scale(0.99); }
.cp-pick.is-on { border-color: rgba(34, 211, 238, 0.6); background: rgba(6, 182, 212, 0.09); }
.cp-pick-check { width: 20px; height: 20px; border-radius: 7px; border: 1px solid rgba(255, 255, 255, 0.25); display: grid; place-items: center; color: transparent; flex-shrink: 0; margin-top: 1px; transition: background 0.15s, border-color 0.15s, color 0.15s; font-size: 13px; }
.cp-pick.is-on .cp-pick-check { background: var(--cyan); border-color: var(--cyan-2); color: #fff; }
.cp-pick-count { margin-left: auto; text-align: right; flex-shrink: 0; padding-left: 8px; }
.cp-pick-count b { display: block; font-size: 16px; font-variant-numeric: tabular-nums; }
.cp-tagpick {
  display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 99px; font-size: 12px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); color: var(--text-2); transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.cp-tagpick:hover { border-color: var(--line-2); }
.cp-tagpick.is-on { background: rgba(244, 63, 94, 0.13); border-color: rgba(251, 113, 133, 0.45); color: var(--rose-2); text-decoration: line-through; text-decoration-color: rgba(251, 113, 133, 0.6); }

/* Conteúdo e prévias */
.cp-device { display: flex; justify-content: center; }
.cp-browser { width: 100%; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #eef2f6; }
.cp-browser-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #1c1c1f; }
.cp-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3f3f46; }
.cp-browser-bar i:nth-child(1) { background: #fb7185; } .cp-browser-bar i:nth-child(2) { background: #facc15; } .cp-browser-bar i:nth-child(3) { background: #34d399; }
.cp-browser-bar span { margin-left: 10px; font-size: 11px; color: var(--subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-frame { display: block; width: 100%; border: 0; background: #eef2f6; }
.cp-phone { position: relative; width: 390px; max-width: 100%; border-radius: 46px; padding: 12px; background: #1c1c1f; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); animation: pop-in 0.35s var(--ease) both; }
.cp-phone .cp-frame { border-radius: 34px; }
.cp-phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 120px; height: 26px; border-radius: 0 0 16px 16px; background: #1c1c1f; z-index: 2; }
.cp-opt { display: flex; flex-direction: column; align-items: flex-start; text-align: left; color: inherit; transition: transform 0.25s var(--ease); min-height: 190px; }
.cp-opt:hover { transform: translateY(-3px); }
.cp-stat-tile { padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.cp-stat-tile b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }

/* Revisão */
.cp-check { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); align-items: flex-start; }
.cp-check:last-child { border-bottom: 0; padding-bottom: 0; }
.cp-check .st { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; flex-shrink: 0; }
.cp-check .st.ok { background: rgba(16, 185, 129, 0.15); color: var(--emerald-2); }
.cp-check .st.warn { background: rgba(250, 204, 21, 0.14); color: var(--yellow); }
.cp-check .st.error { background: rgba(244, 63, 94, 0.15); color: var(--rose-2); }
.cp-dl { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; }
.cp-dl > * { padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 13px; }
.cp-dl > .k { color: var(--subtle); }
.cp-dl > .v { color: var(--text-2); overflow-wrap: anywhere; padding-right: 12px; }
@media (max-width: 640px) {
  .cp-dl { grid-template-columns: minmax(0, 1fr) auto; }
  .cp-dl > .k { grid-column: 1 / -1; border-bottom: 0; padding-bottom: 0; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; }
}

/* Envio animado */
.cp-sendfx { position: relative; width: 120px; height: 120px; margin: 6px auto 20px; display: grid; place-items: center; }
.cp-sendfx .ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(34, 211, 238, 0.55); animation: cp-ring 2.1s ease-out infinite; }
.cp-sendfx .ring:nth-child(2) { animation-delay: 0.7s; }
.cp-sendfx .ring:nth-child(3) { animation-delay: 1.4s; }
.cp-sendfx .core { width: 72px; height: 72px; border-radius: 24px; background: var(--cyan); display: grid; place-items: center; font-size: 34px; color: #fff; border: 1px solid rgba(165, 243, 252, 0.6); box-shadow: 0 20px 40px -12px rgba(6, 182, 212, 0.85); animation: cp-bob 1.6s ease-in-out infinite; transition: background 0.4s; }
.cp-sendfx.done .ring { border-color: rgba(52, 211, 153, 0.55); }
.cp-sendfx.done .core { background: var(--emerald); border-color: rgba(110, 231, 183, 0.6); box-shadow: 0 20px 40px -12px rgba(5, 150, 105, 0.85); animation: none; }
@keyframes cp-ring { from { transform: scale(0.55); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@keyframes cp-bob { 50% { transform: translateY(-6px) rotate(-6deg); } }
.cp-phase { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--subtle); padding: 5px 0; }
.cp-phase .spinner { width: 14px; height: 14px; border-width: 2px; }
.cp-phase.active { color: var(--text); }
.cp-phase.done { color: var(--emerald-2); }

/* IA */
.cp-ai-row { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); animation: rise 0.4s var(--ease) both; }
.cp-ai-row:nth-child(2) { animation-delay: 0.05s; } .cp-ai-row:nth-child(3) { animation-delay: 0.1s; }
.cp-ai-row:nth-child(4) { animation-delay: 0.15s; } .cp-ai-row:nth-child(5) { animation-delay: 0.2s; }
.cp-ai-row:last-child { border-bottom: 0; }
.cp-ai-rate { text-align: right; flex-shrink: 0; }
.cp-ai-rate b { font-size: 16px; color: var(--emerald-2); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .cp-ai-row { flex-wrap: wrap; } .cp-ai-rate { text-align: left; } }

/* ---------- Relatório ---------- */
.cp-live { padding: 18px 20px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.cp-live .progress { background: rgba(255, 255, 255, 0.22); }
.cp-live .progress > span { background: #fff; }
.cp-mini { padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.cp-mini b { display: block; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cp-legend-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 13px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.cp-legend-row:last-child { border-bottom: 0; }
.cp-legend-row i { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.cp-link-url { max-width: 380px; }
.cp-link-bar { width: 160px; }
@media (max-width: 760px) { .cp-link-bar { width: 80px; } .cp-link-url { max-width: 200px; } }
.cp-ab { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cp-ab-card { padding: 22px; position: relative; }
.cp-ab-card .cp-crown { position: absolute; top: 18px; right: 18px; }
@media (max-width: 760px) { .cp-ab { grid-template-columns: minmax(0, 1fr); } }
.cp-timeline { display: flex; flex-direction: column; gap: 0; }
.cp-timeline > div { display: flex; gap: 14px; position: relative; padding-bottom: 18px; }
.cp-timeline > div:last-child { padding-bottom: 0; }
.cp-timeline > div::before { content: ""; position: absolute; left: 13px; top: 30px; bottom: 2px; width: 1px; background: var(--line-2); }
.cp-timeline > div:last-child::before { display: none; }
.cp-timeline .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-2); flex-shrink: 0; }

/* ---------- Modelos ---------- */
.cp-chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; flex: 1 1 auto; min-width: 0; }
.cp-chips::-webkit-scrollbar { display: none; }
.cp-chip { height: 32px; padding: 0 14px; border-radius: 99px; font-size: 12px; font-weight: 500; color: var(--muted); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.cp-chip:hover { color: var(--text); border-color: var(--line-2); }
.cp-chip.active { background: #fff; color: #0a0a0a; border-color: #fff; }
.cp-chip .n { font-size: 10px; opacity: 0.6; }
.cp-tpl-toolbar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.cp-tpl-toolbar .input-icon { width: 280px; max-width: 100%; }
@media (max-width: 760px) { .cp-tpl-toolbar .input-icon { width: 100%; } }
.cp-tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.cp-tpl { overflow: hidden; display: flex; flex-direction: column; }
.cp-tpl-media { position: relative; padding: 10px 10px 0; }
.cp-tpl-media .cp-thumb { border-radius: 14px 14px 0 0; }
.cp-tpl-over {
  position: absolute; inset: 10px 10px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: rgba(10, 10, 10, 0.55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity 0.25s; border-radius: 14px 14px 0 0; z-index: 2;
}
.cp-tpl:hover .cp-tpl-over, .cp-tpl:focus-within .cp-tpl-over { opacity: 1; }
.cp-tpl-mine { position: absolute; top: 20px; left: 20px; z-index: 3; }
.cp-tpl-body { display: flex; align-items: center; gap: 10px; padding: 14px 12px 14px 16px; border-top: 1px solid var(--line); }
@media (hover: none) {
  .cp-tpl-over { opacity: 1; background: linear-gradient(to top, rgba(10, 10, 10, 0.8), transparent 55%); flex-direction: row; justify-content: center; align-items: flex-end; padding-bottom: 12px; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
.cp-pickgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.cp-pickt { text-align: left; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025); transition: border-color 0.2s, transform 0.2s var(--ease); }
.cp-pickt:hover { border-color: rgba(34, 211, 238, 0.6); transform: translateY(-2px); }
.cp-pickt .cp-thumb { border-radius: 0; }
.cp-pickt-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.cp-hero-tpl { padding: 22px 24px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
