/* Hydra Scale: tentáculos atrás da dashboard e painel de contas. */
.hy-contas { margin: 18px 0 24px; padding: 20px 22px 18px; border: 1px solid var(--linha); border-radius: 24px; background: color-mix(in srgb, var(--superficie) 88%, transparent); backdrop-filter: blur(10px); }
.hy-contas > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hy-contas h2 { margin: 6px 0 0; font-size: 20px; letter-spacing: -.5px; }
.hy-geral { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--linha-forte); font-size: 11px; font-weight: 650; }
.hy-geral i, .hy-estado i { width: 8px; height: 8px; border-radius: 50%; background: #37c978; box-shadow: 0 0 0 3px #37c97825; }
.hy-geral.atencao i, .hy-estado.off i { background: #e8a363; box-shadow: 0 0 0 3px #e8a36325; }
.hy-geral.critico, .hy-estado.ruim { color: #ff4d5e; }
.hy-geral.critico i, .hy-estado.ruim i { background: #ff2a3d; box-shadow: 0 0 0 3px #ff2a3d30; animation: hy-pulso 1.6s infinite; }
.hy-metricas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 18px 0 0; }
.hy-metricas > div { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--linha); border-radius: 14px; background: var(--superficie-2); }
.hy-metricas b { font-size: 24px; letter-spacing: -1px; } .hy-metricas b small { font-size: 13px; color: var(--texto-3); font-weight: 500; } .hy-metricas span { font-size: 10px; color: var(--texto-3); }
.hy-stories { margin-top: 16px; display: flex; gap: 18px; overflow-x: auto; padding: 6px 4px 10px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.hy-story { flex: none; display: grid; justify-items: center; gap: 6px; width: 84px; border: 0; background: none; color: inherit; cursor: pointer; scroll-snap-align: start; font: inherit; }
.hy-anel { position: relative; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; padding: 3px; background: conic-gradient(from 200deg, #ff2a3d, #ff7a45, #ffb347, #ff2a3d); transition: transform .2s; }
.hy-anel > img, .hy-anel > .hy-inicial { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--fundo, #0b0b0e); box-sizing: border-box; display: grid; place-items: center; background: var(--superficie-2); font-weight: 800; font-size: 24px; }
.hy-anel i { position: absolute; right: 2px; bottom: 2px; width: 14px; height: 14px; border-radius: 50%; background: #37c978; border: 3px solid var(--fundo, #0b0b0e); }
.hy-story.ok .hy-anel { background: #37c978; }
.hy-story.ruim .hy-anel { background: #ff2a3d; animation: hy-pulso-anel 1.6s infinite; } .hy-story.ruim .hy-anel i { background: #ff2a3d; }
.hy-story.off .hy-anel { background: #ff2a3d; } .hy-story.off .hy-anel i { background: #ff2a3d; }
.hy-story:hover .hy-anel, .hy-story[aria-pressed="true"] .hy-anel { transform: scale(1.07); }
.hy-story[aria-pressed="true"] b { color: #ff4d5e; }
.hy-story b { font-size: 11px; font-weight: 650; max-width: 84px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .hy-story small { font-size: 9px; color: var(--texto-3); margin-top: -4px; }
.hy-dica { margin: 4px 2px 0; font-size: 11px; color: var(--texto-3); }
.hy-detalhe { margin-top: 12px; padding: 18px; border-radius: 18px; border: 1px solid var(--linha-forte); background: linear-gradient(135deg, color-mix(in srgb, #ff2a3d 8%, var(--superficie-2)), var(--superficie-2) 60%); display: grid; gap: 12px; }
.hy-detalhe.ruim { border-color: #ff2a3d66; }
.hy-det-id { display: flex; align-items: center; gap: 14px; } .hy-det-id > div { display: grid; gap: 3px; flex: 1; min-width: 0; } .hy-det-id b { font-size: 17px; } .hy-det-id small { font-size: 11px; color: var(--texto-3); }
.hy-det-foto { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: var(--superficie); font-weight: 800; font-size: 24px; flex: none; }
.hy-estado { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 650; margin-top: 2px; }
.hy-fechar { border: 1px solid var(--linha-forte); background: transparent; color: var(--texto-2); width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 18px; line-height: 1; }
.hy-det-texto { margin: 0; font-size: 12px; color: var(--texto-2); }
.hy-det-numeros { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; } .hy-det-numeros > div { display: grid; gap: 3px; padding: 12px; border-radius: 12px; background: var(--superficie); border: 1px solid var(--linha); } .hy-det-numeros b { font-size: 20px; letter-spacing: -.6px; } .hy-det-numeros span { font-size: 10px; color: var(--texto-3); }
.hy-det-acoes { display: flex; gap: 8px; flex-wrap: wrap; }
@keyframes hy-pulso { 50% { opacity: .45; } } @keyframes hy-pulso-anel { 50% { box-shadow: 0 0 0 6px #ff2a3d22; } }
@media (max-width: 700px) { .hy-metricas, .hy-det-numeros { grid-template-columns: repeat(2, minmax(0, 1fr)); } @media (prefers-reduced-motion: reduce) { 