/* BLCK NGN: interaction layer. Content stays available without JavaScript. */
.bn-visually-hidden { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
[hidden] { display:none!important; }
.bn-motion-ready [data-reveal] { opacity:0; transform:translateY(16px); transition:opacity .7s cubic-bezier(.2,.7,.2,1),transform .7s cubic-bezier(.2,.7,.2,1); transition-delay:var(--reveal-delay,0ms); }
.bn-motion-ready [data-reveal].is-revealed { opacity:1; transform:none; }
[data-parallax] .hero-image,[data-parallax] .hero-art,[data-parallax]>img { transform:translate3d(var(--pointer-x,0px),var(--pointer-y,0px),0) scale(1.025); transition:transform .35s ease-out; }
.trade-fire { display:inline-block; transform-origin:50% 85%; animation:bn-fire 2.8s ease-in-out infinite; filter:drop-shadow(0 0 7px rgba(219,125,49,.38)); }
@keyframes bn-fire { 0%,100% { transform:rotate(-3deg) scale(1); filter:drop-shadow(0 0 6px rgba(219,125,49,.3)); } 30% { transform:rotate(3deg) scale(1.08); filter:drop-shadow(0 0 11px rgba(219,125,49,.48)); } 60% { transform:rotate(-1deg) scale(.97); } }
.live-pill.live i,.pulse,.state-pill.good i { animation:bn-live-pulse 3s ease-in-out infinite; }
@keyframes bn-live-pulse { 0%,100% { opacity:.7; } 50% { opacity:1; box-shadow:0 0 0 5px rgba(136,197,162,.08),0 0 13px rgba(136,197,162,.2); } }
.bn-equity-line { animation:bn-curve-in .9s ease-out both; }
@keyframes bn-curve-in { from { opacity:.2; } to { opacity:1; } }
.equity-chart:focus-visible { outline:2px solid var(--accent,#c9a875); outline-offset:4px; }
.chart-tooltip { border-color:rgba(201,168,117,.22); background:rgba(19,18,16,.96); color:var(--ink,#f1eee8); box-shadow:0 12px 30px rgba(0,0,0,.45); backdrop-filter:blur(12px); }
.chart-tooltip span { color:#b4ada2; }
.bn-page-hidden *, .bn-page-hidden *::before, .bn-page-hidden *::after { animation-play-state:paused!important; }

.bn-toast-region { position:fixed; z-index:110; right:24px; bottom:24px; display:grid; gap:10px; width:min(390px,calc(100vw - 32px)); }
.bn-trade-toast { display:flex; align-items:center; gap:14px; padding:18px; border:1px solid rgba(201,168,117,.3); border-radius:16px; background:linear-gradient(120deg,#1b1813,#0e0e0e); box-shadow:0 18px 60px #0008,inset 0 1px #ffffff0a; animation:bn-toast-in .4s cubic-bezier(.2,.7,.2,1); }
.bn-trade-toast>.trade-fire { font-size:29px; }
.bn-trade-toast>div { display:grid; gap:6px; flex:1; min-width:0; }
.bn-trade-toast b { font-size:15px; color:#f1eee8; }
.bn-trade-toast a { color:#d0b48a; font-size:13px; text-decoration:underline; text-underline-offset:4px; }
.bn-trade-toast>button { align-self:flex-start; width:28px; height:28px; border:0; border-radius:8px; color:#a5a199; background:#ffffff07; font-size:22px; cursor:pointer; }
@keyframes bn-toast-in { from { opacity:0; transform:translateY(15px); } to { opacity:1; transform:translateY(0); } }

body.bn-dialog-open { overflow:hidden; }
.bn-share-dialog { position:fixed; width:min(1020px,calc(100vw - 40px)); max-width:calc(100vw - 24px); max-height:calc(100dvh - 40px); margin:auto; padding:0; overflow:auto; color:#f1eee8; border:1px solid rgba(201,168,117,.25); border-radius:25px; background:linear-gradient(145deg,#191713,#10100f 36%,#0b0b0b); box-shadow:0 40px 140px #000c,inset 0 1px #ffffff0a; color-scheme:dark; }
.bn-share-dialog[open] { animation:bn-dialog-in .32s cubic-bezier(.2,.7,.2,1); }
.bn-share-dialog::backdrop { background:rgba(0,0,0,.78); backdrop-filter:blur(12px); }
@keyframes bn-dialog-in { from { opacity:0; transform:translateY(20px) scale(.98); } to { opacity:1; transform:none; } }
.bn-share-header { position:sticky; top:0; z-index:3; display:flex; justify-content:space-between; gap:20px; padding:22px 32px 22px; border-bottom:1px solid #ffffff0b; background:rgba(18,17,15,.96); backdrop-filter:blur(20px); }
.bn-share-wordmark { display:flex; align-items:center; gap:10px; margin-bottom:9px; }
.bn-share-logo { display:block; width:34px; height:34px; object-fit:contain; filter:none; box-shadow:none; }
.bn-share-wordmark .bn-share-kicker { margin:0; color:#f1eee8; font-size:11px; }
.bn-share-kicker { display:block; margin-bottom:10px; color:#c9a875; font-size:10px; font-weight:750; letter-spacing:.2em; }
.bn-share-header h2 { margin:0 0 9px; color:#f1eee8; font-size:27px; letter-spacing:-.045em; }
.bn-share-header p { margin:0; color:#a6a097; font-size:13px; }
.bn-share-close { display:grid; place-items:center; flex:0 0 auto; width:38px; height:38px; padding:0; border:1px solid #ffffff12; border-radius:50%; color:#c2bdb5; background:#ffffff05; font-size:28px; line-height:1; cursor:pointer; }
.bn-share-close:hover { background:#ffffff0c; color:#fff; }
.bn-share-body { display:grid; grid-template-columns:minmax(0,1.25fr) minmax(310px,1fr); gap:25px; padding:27px 32px 30px; }
.bn-share-preview { position:sticky; top:175px; align-self:start; display:grid; align-items:center; min-width:0; min-height:310px; overflow:hidden; border:1px solid #ffffff10; border-radius:17px; background:radial-gradient(ellipse at 70% 20%,#241c11,transparent 65%),#050505; }
.bn-share-image { display:block; width:100%; height:auto; }
.bn-share-loader { display:grid; min-height:310px; padding:24px; place-content:center; justify-items:center; gap:23px; color:#9e9589; text-align:center; }
.bn-share-loader b { max-width:230px; font-size:13px; font-weight:500; }
.bn-share-orbit { display:block; width:37px; height:37px; border:1px solid #c9a87520; border-top-color:#c9a875; border-right-color:#c9a87560; border-radius:50%; box-shadow:0 0 24px #c9a8750d; animation:bn-orbit 1.1s linear infinite; }
.bn-share-loader.is-error .bn-share-orbit { border-color:#e08a8430; border-top-color:#e08a84; animation:none; }
@keyframes bn-orbit { to { transform:rotate(360deg); } }
.bn-share-controls { display:flex; align-items:stretch; flex-direction:column; min-width:0; padding-top:2px; }
.bn-share-metadata { display:flex; align-items:center; flex-wrap:wrap; gap:8px 12px; min-height:24px; margin-bottom:13px; }
.bn-share-code { display:block; color:#b9a381; font-size:11px; font-weight:650; letter-spacing:.12em; }
.bn-share-mood { padding:5px 8px; border:1px solid #c9a87520; border-radius:6px; color:#bcb4a8; background:#c9a87507; font-size:10px; line-height:1.3; }
.bn-share-mood[data-mood="win"] { color:#a8d9b9; border-color:#78be9130; background:#78be910a; }
.bn-share-mood[data-mood="loss"] { color:#e4aaa3; border-color:#d3827830; background:#d382780a; }
.bn-share-controls h3 { margin:0 0 15px; color:#e9e4dc; font-size:20px; letter-spacing:-.03em; }
.bn-share-themes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.bn-share-theme { display:flex; align-items:center; gap:9px; width:100%; min-height:64px; padding:11px; border:1px solid #ffffff10; border-radius:13px; color:#bdb7ad; background:#ffffff03; text-align:left; cursor:pointer; transition:background .2s,border-color .2s,transform .2s; }
.bn-share-theme-auto { grid-column:1/-1; min-height:56px; }
.bn-share-theme:hover { background:#ffffff07; border-color:#c9a87555; transform:translateX(2px); }
.bn-share-theme.selected { border-color:#c9a87585; background:linear-gradient(115deg,#c9a87513,#c9a87505); box-shadow:inset 3px 0 #c9a875; }
.bn-share-theme-number { color:#706a61; font-size:10px; font-variant-numeric:tabular-nums; letter-spacing:.06em; }
.bn-share-theme.selected .bn-share-theme-number { color:#c9a875; }
.bn-share-theme-text { display:grid; flex:1; min-width:0; gap:4px; }
.bn-share-theme-text b { color:#e8e1d6; font-size:14px; font-weight:600; }
.bn-share-theme-text small { color:#a29a8e; font-size:10px; line-height:1.4; }
.bn-share-theme-tick { display:none; color:#b79561; opacity:.4; }
.bn-share-theme-auto .bn-share-theme-tick { display:block; }
.bn-share-theme.selected .bn-share-theme-tick { opacity:1; }
.bn-share-mood-hint { margin:12px 0 0; color:#a69d90; font-size:11px; line-height:1.6; }
.bn-share-shuffle { min-height:43px; margin-top:9px; padding:10px 14px; border:1px dashed #c9a87542; border-radius:10px; color:#d9c6a6; background:#c9a87507; font-family:inherit; font-size:13px; font-weight:600; cursor:pointer; }
.bn-share-shuffle:hover { background:#c9a87513; border-color:#c9a87585; }
.bn-share-shuffle:disabled { opacity:.4; cursor:not-allowed; }
.bn-share-fields { min-width:0; margin:23px 0 0; padding:16px 0 0; border:0; border-top:1px solid #ffffff14; }
.bn-share-fields legend { float:left; width:100%; margin:0 0 8px; padding:0; color:#e9e4dc; font-size:18px; font-weight:650; letter-spacing:-.025em; }
.bn-share-field-hint { clear:both; margin:0 0 12px; color:#a69d90; font-size:11px; line-height:1.6; }
.bn-share-field-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
.bn-share-field { display:flex; align-items:center; gap:8px; min-height:42px; margin:0; padding:8px; border:1px solid #ffffff0b; border-radius:9px; background:#ffffff02; cursor:pointer; }
.bn-share-field:has(input:checked) { border-color:#c9a87530; background:#c9a87508; }
.bn-share-field input[type="checkbox"] { width:16px; height:16px; min-height:0; flex:0 0 16px; margin:0; padding:0; accent-color:#c9a875; cursor:pointer; }
.bn-share-field>span { color:#d3cabd; font-size:12px; line-height:1.4; }
.bn-share-field:has(input:disabled) { opacity:.5; cursor:not-allowed; }
.bn-share-percent-hint { margin:11px 0 0; color:#c5ae89; font-size:11px; }
.bn-share-actions { display:grid; gap:8px; margin-top:18px; }
.bn-share-actions>a,.bn-share-actions>button { display:flex; justify-content:center; align-items:center; min-height:46px; width:100%; padding:11px 16px; border:1px solid #ffffff15; border-radius:10px; background:#ffffff05; color:#d2cabe; font-family:inherit; font-size:13px; font-weight:650; text-align:center; cursor:pointer; transition:filter .15s,background .15s; }
.bn-share-actions>.bn-share-download { border-color:#c9a875; color:#181410; background:linear-gradient(135deg,#e3c79b,#c2a06b); box-shadow:0 5px 20px #c9a87510; }
.bn-share-actions>.bn-share-download:hover { filter:brightness(1.07); }
.bn-share-actions>.bn-share-telegram { color:#cbbda7; }
.bn-share-actions>.bn-share-telegram:hover { border-color:#c9a87555; background:#c9a8750b; }
.bn-share-actions [aria-disabled="true"],.bn-share-actions button:disabled,.bn-share-theme:disabled { opacity:.4; cursor:not-allowed; transform:none; }
.bn-share-hint { margin:12px 0 0; color:#827c72; font-size:11px; line-height:1.6; }
.bn-share-status { min-height:30px; margin:14px 0 0; color:#9bc9ad; font-size:12px; line-height:1.6; }
.bn-share-status:empty { min-height:0; margin:0; }
.bn-share-status.is-error { color:#e7a49f; }
.bn-share-dialog :focus-visible,.bn-trade-toast :focus-visible { outline:2px solid #d8b986; outline-offset:4px; }

@media(max-width:820px) { .bn-toast-region { right:16px; bottom:calc(88px + env(safe-area-inset-bottom)); } }
@media(max-width:720px) {
  .bn-share-dialog { width:calc(100vw - 24px); max-height:calc(100dvh - 24px); border-radius:20px; }
  .bn-share-header { padding:16px 20px; gap:10px; }
  .bn-share-header h2 { font-size:23px; }
  .bn-share-header p { max-width:255px; line-height:1.5; }
  .bn-share-body { grid-template-columns:1fr; gap:23px; padding:20px; }
  .bn-share-preview,.bn-share-loader { min-height:245px; }
  .bn-share-preview { position:relative; top:auto; }
  .bn-share-controls h3 { margin-bottom:14px; }
  .bn-share-themes { grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px; }
  .bn-share-theme { flex-direction:row; align-items:center; min-height:65px; padding:10px; gap:8px; }
  .bn-share-theme-auto { min-height:56px; }
  .bn-share-theme-text b { font-size:13px; }
  .bn-share-theme-text small { font-size:10px; }
  .bn-share-theme-tick { display:none; }
  .bn-share-actions { grid-template-columns:1fr 1fr; margin-top:18px; }
  .bn-share-actions>.bn-share-download { grid-column:1/-1; }
  .bn-share-actions>.bn-share-native[hidden]+.bn-share-telegram { grid-column:1/-1; }
  .bn-share-fields { margin-top:20px; }
  .bn-share-field { min-height:46px; }
}
@media(prefers-reduced-motion:reduce) {
  .bn-motion-ready [data-reveal] { opacity:1!important; transform:none!important; transition:none!important; }
  .trade-fire,.live-pill.live i,.pulse,.state-pill.good i,.bn-equity-line,.bn-trade-toast,.bn-share-dialog[open],.bn-share-orbit { animation:none!important; }
  [data-parallax] .hero-image,[data-parallax] .hero-art,[data-parallax]>img { transform:none!important; transition:none!important; }
}
