/* ACAISAN PLAN — Vitrine do NEURAL para CORE (topo do Painel). Escopo: #dashboard .pn. */
#dashboard .pn {
  --pn-lime: #a3e635; --pn-lime2: #d9f99d; --pn-text: #f4f4f5; --pn-mute: #a1a1aa; --pn-dim: #71717a; --pn-line: rgba(255, 255, 255, .1);
  --pn-head: "Manrope", "Inter", system-ui, sans-serif; --pn-body: "Inter", system-ui, sans-serif; --pn-mono: "JetBrains Mono", ui-monospace, monospace;
  position: relative; margin: 0 0 16px; border-radius: 18px; overflow: hidden; min-height: 132px;
  background: radial-gradient(520px 180px at 0% 0%, rgba(163, 230, 53, .14), transparent 70%), radial-gradient(420px 200px at 100% 100%, rgba(96, 165, 250, .08), transparent 70%), #0f1011;
  border: 1px solid rgba(163, 230, 53, .28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
#dashboard .pn::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 35%, rgba(217, 249, 157, .07) 50%, transparent 65%); background-size: 260% 100%; }
#dashboard .pn.pn-motion::before { animation: pn-sweep 7s ease-in-out infinite; }
@keyframes pn-sweep { from { background-position: 130% 0; } to { background-position: -130% 0; } }
#dashboard .pn.is-closing { opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .25s; }

#dashboard .pn-tag { position: absolute; left: 18px; top: 12px; z-index: 2; font: 600 9.5px/1 var(--pn-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--pn-dim); }
#dashboard .pn-x { position: absolute; right: 10px; top: 10px; z-index: 3; width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--pn-line); background: rgba(0, 0, 0, .3); color: var(--pn-mute); font-size: 18px; line-height: 1; cursor: pointer; }
#dashboard .pn-x:hover { color: #fff; border-color: rgba(255, 255, 255, .25); }
#dashboard .pn-x:focus-visible, #dashboard .pn button:focus-visible { outline: 2px solid var(--pn-lime); outline-offset: 2px; }

#dashboard .pn-track { position: relative; min-height: 132px; }
#dashboard .pn-slide { position: absolute; inset: 0; display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 20px; padding: 30px 56px 22px 18px; opacity: 0; visibility: hidden; transform: translateX(16px); }
#dashboard .pn-slide.is-on { position: relative; opacity: 1; visibility: visible; transform: none; }
#dashboard .pn.pn-motion .pn-slide { transition: opacity .45s ease, transform .45s ease, visibility 0s .45s; }
#dashboard .pn.pn-motion .pn-slide.is-on { transition: opacity .45s ease, transform .45s ease, visibility 0s; }
#dashboard .pn-txt { display: grid; gap: 5px; min-width: 0; }
#dashboard .pn-kicker { font: 700 10.5px/1 var(--pn-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--pn-lime); }
#dashboard .pn-txt h3 { margin: 2px 0 0; font: 800 19px/1.2 var(--pn-head); letter-spacing: -.01em; color: var(--pn-text); }
#dashboard .pn-txt p { margin: 0; max-width: 72ch; font: 400 13px/1.5 var(--pn-body); color: var(--pn-mute); }
#dashboard .pn-ctas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
#dashboard .pn-cta { height: 34px; padding: 0 14px; border-radius: 10px; border: 0; background: var(--pn-lime); color: #0a0a0a; font: 700 12.5px/1 var(--pn-body); cursor: pointer; box-shadow: 0 6px 18px rgba(163, 230, 53, .22); }
#dashboard .pn-cta:hover { filter: brightness(1.06); }
#dashboard .pn-cta2 { height: 34px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--pn-line); background: rgba(255, 255, 255, .04); color: var(--pn-text); font: 600 12.5px/1 var(--pn-body); cursor: pointer; }
#dashboard .pn-cta2:hover { border-color: rgba(163, 230, 53, .45); }

#dashboard .pn-dots { position: absolute; right: 16px; bottom: 14px; z-index: 2; display: flex; gap: 5px; }
#dashboard .pn-dot { width: 7px; height: 7px; padding: 0; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .2); cursor: pointer; transition: width .25s, background .25s; }
#dashboard .pn-dot.is-on { width: 20px; background: var(--pn-lime); }
#dashboard .pn-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, rgba(163, 230, 53, .2), var(--pn-lime)); }
#dashboard .pn.pn-motion .pn-bar { animation: pn-bar 8s linear infinite; }
#dashboard .pn.is-paused .pn-bar { animation-play-state: paused; }
@keyframes pn-bar { to { transform: scaleX(1); } }

/* Ilustrações */
#dashboard .pn-art { position: relative; width: 150px; height: 92px; border-radius: 14px; background: rgba(255, 255, 255, .025); border: 1px solid var(--pn-line); overflow: hidden; }
/* Studio: blocos ligados */
#dashboard .pn-art-studio i { position: absolute; width: 38px; height: 24px; border-radius: 7px; background: #1b1c1f; border: 1px solid rgba(255, 255, 255, .14); }
#dashboard .pn-art-studio i:nth-child(1) { left: 10px; top: 14px; border-color: #a3e635; } #dashboard .pn-art-studio i:nth-child(2) { left: 56px; top: 50px; border-color: #fbbf24; }
#dashboard .pn-art-studio i:nth-child(3) { left: 100px; top: 12px; border-color: #f472b6; } #dashboard .pn-art-studio i:nth-child(4) { left: 102px; top: 58px; border-color: #7dd3fc; }
#dashboard .pn-art-studio::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(35deg, transparent 47%, rgba(163, 230, 53, .7) 48% 50%, transparent 51%) 28px 26px / 40px 28px no-repeat,
  linear-gradient(-35deg, transparent 47%, rgba(163, 230, 53, .7) 48% 50%, transparent 51%) 80px 26px / 34px 26px no-repeat; }
#dashboard .pn.pn-motion .pn-slide.is-on .pn-art-studio i { animation: pn-pop .5s cubic-bezier(.3, 1.5, .5, 1) backwards; }
#dashboard .pn.pn-motion .pn-slide.is-on .pn-art-studio i:nth-child(2) { animation-delay: .12s; } #dashboard .pn.pn-motion .pn-slide.is-on .pn-art-studio i:nth-child(3) { animation-delay: .24s; } #dashboard .pn.pn-motion .pn-slide.is-on .pn-art-studio i:nth-child(4) { animation-delay: .36s; }
@keyframes pn-pop { from { opacity: 0; transform: scale(.5); } }
/* PRESENT: slides empilhados passando */
#dashboard .pn-art-present i { position: absolute; left: 30px; top: 16px; width: 90px; height: 60px; border-radius: 9px; border: 1px solid rgba(163, 230, 53, .4); background: linear-gradient(160deg, #1d2410, #101208); }
#dashboard .pn-art-present i:nth-child(2) { transform: translate(8px, -6px) rotate(5deg); border-color: rgba(245, 196, 81, .45); background: linear-gradient(160deg, #241a10, #120d08); }
#dashboard .pn-art-present i:nth-child(3) { transform: translate(-8px, 6px) rotate(-5deg); border-color: rgba(96, 165, 250, .45); background: linear-gradient(160deg, #101a24, #080d12); }
#dashboard .pn.pn-motion .pn-slide.is-on .pn-art-present i:nth-child(1) { animation: pn-deck 3.2s ease-in-out infinite; }
@keyframes pn-deck { 50% { transform: translateY(-8px) scale(1.04); } }
/* Solicitações: cartões chegando + selo */
#dashboard .pn-art-requests i { position: absolute; left: 18px; right: 18px; height: 18px; border-radius: 6px; background: #1b1c1f; border: 1px solid rgba(255, 255, 255, .12); }
#dashboard .pn-art-requests i:nth-child(1) { top: 14px; border-left: 3px solid #a3e635; } #dashboard .pn-art-requests i:nth-child(2) { top: 37px; } #dashboard .pn-art-requests i:nth-child(3) { top: 60px; }
#dashboard .pn-ping { position: absolute; right: 8px; top: 6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: #a3e635; color: #0a0a0a; font: 800 11px/1 var(--pn-body); box-shadow: 0 0 0 4px rgba(163, 230, 53, .2); }
#dashboard .pn.pn-motion .pn-slide.is-on .pn-art-requests i:nth-child(1) { animation: pn-drop .6s cubic-bezier(.3, 1.4, .5, 1) backwards .2s; }
#dashboard .pn.pn-motion .pn-slide.is-on .pn-ping { animation: pn-ping 1.8s ease-in-out infinite; }
@keyframes pn-drop { from { opacity: 0; transform: translateY(-14px); } }
@keyframes pn-ping { 50% { box-shadow: 0 0 0 9px rgba(163, 230, 53, 0); } }
/* IA: digitando + resultado */
#dashboard .pn-typing { position: absolute; left: 10px; right: 10px; top: 12px; padding: 6px 8px; border-radius: 8px; background: #1b1c1f; font: 500 9.5px/1.2 var(--pn-body); color: var(--pn-mute); white-space: nowrap; overflow: hidden; border-right: 2px solid #a3e635; }
#dashboard .pn.pn-motion .pn-slide.is-on .pn-typing { animation: pn-type 3.6s steps(30) infinite; }
@keyframes pn-type { 0% { width: 0; } 55%, 100% { width: calc(100% - 20px); } }
#dashboard .pn-art-ai i { position: absolute; top: 48px; height: 22px; border-radius: 7px; background: rgba(163, 230, 53, .12); border: 1px solid rgba(163, 230, 53, .35); }
#dashboard .pn-art-ai i:nth-child(1) { left: 10px; width: 52px; } #dashboard .pn-art-ai i:nth-child(2) { left: 68px; width: 36px; background: rgba(96, 165, 250, .12); border-color: rgba(96, 165, 250, .35); } #dashboard .pn-art-ai i:nth-child(3) { left: 110px; width: 30px; background: rgba(251, 191, 36, .12); border-color: rgba(251, 191, 36, .35); }
#dashboard .pn.pn-motion .pn-slide.is-on .pn-art-ai i { animation: pn-pop .4s ease backwards 2s; }
/* Preço */
#dashboard .pn-art-price { display: grid; place-content: center; gap: 2px; text-align: center; }
#dashboard .pn-art-price i { display: none; }
#dashboard .pn-old { font: 700 13px/1 var(--pn-head); color: var(--pn-dim); }
#dashboard .pn-new { font: 800 24px/1.1 var(--pn-head); color: var(--pn-lime); text-shadow: 0 0 18px rgba(163, 230, 53, .35); }
#dashboard .pn-per { font: 600 10px/1.2 var(--pn-body); color: var(--pn-mute); }
#dashboard .pn.pn-motion .pn-slide.is-on .pn-new { animation: pn-pop .6s cubic-bezier(.3, 1.5, .5, 1) backwards .2s; }

/* Destaque do cartão "Plano e assinatura" ao chegar por "Conhecer o NEURAL" */
#acSubscriptionSettings.pn-flash { box-shadow: 0 0 0 2px #a3e635, 0 0 30px rgba(163, 230, 53, .25) !important; transition: box-shadow .3s; }

@media (max-width: 720px) {
  #dashboard .pn-track { min-height: 214px; }            /* mesma altura em todos os anúncios: o Painel não pula */
  #dashboard .pn-slide { grid-template-columns: minmax(0, 1fr); padding: 32px 44px 34px 16px; gap: 0; }
  #dashboard .pn-art { display: none; }
  #dashboard .pn-txt h3 { font-size: 16.5px; }
  #dashboard .pn-txt p { font-size: 12.5px; }
  #dashboard .pn-dots { left: 16px; right: auto; bottom: 12px; }
}

/* ───────── Especial de Natal (classe pn-xmas, de 15/11 a 6/1) ───────── */
#dashboard .pn.pn-xmas {
  --pn-lime: #f5c451; --pn-lime2: #fde68a;
  background:
    radial-gradient(520px 200px at 0% 0%, rgba(245, 196, 81, .16), transparent 70%),
    radial-gradient(420px 220px at 100% 100%, rgba(163, 230, 53, .1), transparent 70%),
    linear-gradient(120deg, rgba(185, 28, 28, .42), rgba(127, 29, 29, .30) 55%, rgba(69, 10, 10, .38)),
    rgba(15, 10, 10, .55);
  border: 1px solid rgba(245, 196, 81, .45);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 14px 40px -18px rgba(229, 72, 77, .55);
  backdrop-filter: blur(6px);
}
#dashboard .pn.pn-xmas::before { background: linear-gradient(110deg, transparent 35%, rgba(253, 230, 138, .12) 50%, transparent 65%); background-size: 260% 100%; }
#dashboard .pn.pn-xmas .pn-snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
#dashboard .pn.pn-xmas .pn-track, #dashboard .pn.pn-xmas .pn-tag, #dashboard .pn.pn-xmas .pn-dots { position: relative; z-index: 1; }
#dashboard .pn.pn-xmas .pn-tag { position: absolute; color: #fecaca; }
#dashboard .pn.pn-xmas .pn-dots { position: absolute; }
#dashboard .pn.pn-xmas .pn-kicker { color: #fde68a; }
#dashboard .pn.pn-xmas .pn-txt p { color: #e7d5d5; }
#dashboard .pn.pn-xmas .pn-cta { background: #f5c451; color: #1a1305; box-shadow: 0 6px 18px rgba(245, 196, 81, .3); }
#dashboard .pn.pn-xmas .pn-cta2 { border-color: rgba(253, 230, 138, .35); background: rgba(0, 0, 0, .2); }
#dashboard .pn.pn-xmas .pn-cta2:hover { border-color: #f5c451; }
#dashboard .pn.pn-xmas .pn-dot { background: rgba(255, 255, 255, .25); }
#dashboard .pn.pn-xmas .pn-dot.is-on { background: #f5c451; }
#dashboard .pn.pn-xmas .pn-bar { background: linear-gradient(90deg, #e5484d, #f5c451, #a3e635); }
#dashboard .pn.pn-xmas .pn-x { background: rgba(0, 0, 0, .35); border-color: rgba(253, 230, 138, .3); color: #fde68a; }
#dashboard .pn.pn-xmas .pn-art { background: rgba(0, 0, 0, .28); border-color: rgba(253, 230, 138, .22); }
#dashboard .pn.pn-xmas .pn-new { color: #fde68a; text-shadow: 0 0 18px rgba(245, 196, 81, .45); }
#dashboard .pn.pn-xmas .pn-ping { background: #e5484d; color: #fff; box-shadow: 0 0 0 4px rgba(229, 72, 77, .25); }

/* Pisca-pisca na borda de cima */
#dashboard .pn-lights { position: absolute; left: 0; right: 0; top: 0; height: 18px; z-index: 2; display: flex; justify-content: space-between; padding: 0 14px; pointer-events: none; }
#dashboard .pn-lights::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 14px; border-bottom: 1px solid rgba(255, 255, 255, .22); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
#dashboard .pn-lights i { position: relative; top: 3px; width: 6px; height: 9px; border-radius: 50% 50% 45% 45%; background: var(--c); box-shadow: 0 0 8px var(--c); }
#dashboard .pn-lights i::before { content: ""; position: absolute; left: 1px; top: -3px; width: 4px; height: 3px; border-radius: 1px; background: #3f3f46; }
#dashboard .pn-lights i:nth-child(4n+1) { --c: #e5484d; } #dashboard .pn-lights i:nth-child(4n+2) { --c: #f5c451; }
#dashboard .pn-lights i:nth-child(4n+3) { --c: #a3e635; } #dashboard .pn-lights i:nth-child(4n+4) { --c: #60a5fa; }
#dashboard .pn-lights i:nth-child(even) { top: 5px; }
#dashboard .pn.pn-motion .pn-lights i { animation: pn-blink 2.4s ease-in-out infinite; animation-delay: calc(var(--i) * -.33s); }
@keyframes pn-blink { 50% { opacity: .25; box-shadow: none; } }

/* Bolas penduradas (à esquerda do ×) */
#dashboard .pn-balls { position: absolute; right: 54px; top: 0; width: 120px; height: 0; z-index: 2; pointer-events: none; }
#dashboard .pn-balls span { position: absolute; top: 0; width: 1px; height: var(--len); background: linear-gradient(rgba(255, 255, 255, .05), rgba(255, 255, 255, .35)); transform-origin: top center; }
#dashboard .pn-balls span:nth-child(1) { right: 0; } #dashboard .pn-balls span:nth-child(2) { right: 28px; } #dashboard .pn-balls span:nth-child(3) { right: 58px; } #dashboard .pn-balls span:nth-child(4) { right: 88px; }
#dashboard .pn-balls i { position: absolute; left: 50%; top: 100%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .9) 0 2px, transparent 3px), radial-gradient(circle, var(--c), color-mix(in srgb, var(--c) 45%, #000)); box-shadow: 0 4px 12px color-mix(in srgb, var(--c) 45%, transparent); }
#dashboard .pn-balls i::before { content: ""; position: absolute; left: 50%; top: -3px; width: 6px; height: 4px; margin-left: -3px; border-radius: 1px; background: #d4d4d8; }
#dashboard .pn.pn-motion .pn-balls span { animation: pn-swing 4.4s ease-in-out infinite alternate; animation-delay: calc(var(--d) * -1); }
@keyframes pn-swing { from { transform: rotate(6deg); } to { transform: rotate(-6deg); } }

@media (max-width: 720px) {
  #dashboard .pn-balls { right: 46px; width: 64px; }
  #dashboard .pn-balls span:nth-child(n+3) { display: none; }
  #dashboard .pn-lights i:nth-child(n+17) { display: none; }
}
/* Natal: o pisca-pisca ocupa o topo; etiqueta e conteúdo descem um pouco */
#dashboard .pn.pn-xmas .pn-tag { top: 22px; }
#dashboard .pn.pn-xmas .pn-slide { padding-top: 40px; }
#dashboard .pn.pn-xmas .pn-x { top: 20px; }
@media (max-width: 720px) { #dashboard .pn.pn-xmas .pn-slide { padding-top: 44px; } #dashboard .pn.pn-xmas .pn-track { min-height: 226px; } }
@media (max-width: 720px) { #dashboard .pn-balls { display: none; } }
/* Botão ❄ do app (body.xm-off) também desliga a decoração da vitrine; o vermelho e os textos de Natal continuam */
body.xm-off #dashboard .pn.pn-xmas .pn-snow, body.xm-off #dashboard .pn.pn-xmas .pn-lights, body.xm-off #dashboard .pn.pn-xmas .pn-balls { display: none; }
body.xm-off #dashboard .pn.pn-xmas .pn-tag { top: 12px; }
body.xm-off #dashboard .pn.pn-xmas .pn-slide { padding-top: 30px; }
body.xm-off #dashboard .pn.pn-xmas .pn-x { top: 10px; }
