/* Byhnex web3 theme — one layer loaded last on every page.
   Concept: an orbital cockpit. Deep-space ground, aurora light, glass panels
   with prism hairlines, mono figures. Green = up, red = down, gold = warning. */
:root{
  color-scheme:dark;
  --w3-bg:#05060e;
  --w3-glass:rgba(16,19,40,.62);
  --w3-glass-hi:rgba(25,29,60,.78);
  --w3-line:rgba(150,160,255,.14);
  --w3-line-hi:rgba(110,225,255,.42);
  --w3-text:#eef0ff;
  --w3-muted:#8f95bd;
  --w3-dim:#5f658d;
  --w3-cyan:#3ae6ff;
  --w3-violet:#8d63ff;
  --w3-pink:#ff52d9;
  --w3-up:#2cf5a3;
  --w3-down:#ff5c7c;
  --w3-gold:#ffc861;
  --w3-prism:linear-gradient(120deg,var(--w3-cyan),var(--w3-violet) 55%,var(--w3-pink));
  --w3-edge:linear-gradient(140deg,rgba(58,230,255,.55),rgba(141,99,255,.12) 45%,rgba(255,82,217,.42));
  --w3-display:'Unbounded','Segoe UI',system-ui,sans-serif;
  --w3-body:'Manrope','Segoe UI',system-ui,sans-serif;
  --w3-mono:'JetBrains Mono',ui-monospace,'SFMono-Regular',Consolas,monospace;
  /* existing page tokens, re-pointed to the theme */
  --bn-bg:var(--w3-bg);--bn-text:var(--w3-text);--bn-muted:var(--w3-muted);--bn-purple:#b9a2ff;--bn-teal:var(--w3-up);
}
html{background:var(--w3-bg)}
body.bn-shared-nav{background:transparent!important;font-family:var(--w3-body)!important;-webkit-tap-highlight-color:transparent}
body.bn-shared-nav::before,body.bn-shared-nav::after{display:none!important}

/* Aurora: two slow light blobs and a faint orbital grid behind everything. */
.w3-aurora{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;background:
  radial-gradient(42vmax 32vmax at 8% -4%,rgba(58,230,255,.20),transparent 62%),
  radial-gradient(46vmax 36vmax at 102% 104%,rgba(141,99,255,.24),transparent 64%),
  radial-gradient(30vmax 24vmax at 78% 8%,rgba(255,82,217,.10),transparent 60%)}
.w3-aurora::after{content:'';position:absolute;inset:0;background-image:linear-gradient(rgba(140,150,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(140,150,255,.05) 1px,transparent 1px);background-size:48px 48px;-webkit-mask-image:radial-gradient(ellipse at 50% 0,#000 10%,transparent 70%);mask-image:radial-gradient(ellipse at 50% 0,#000 10%,transparent 70%)}

/* ---------- Side panel (desktop / tablet) ---------- */
.bn-shared-nav>.bn-sidebar{background:rgba(8,10,24,.74);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-right:1px solid var(--w3-line);font-family:var(--w3-body)}
.bn-shared-nav>.bn-sidebar::after{content:'';position:absolute;top:0;right:-1px;width:1px;height:42%;background:linear-gradient(var(--w3-cyan),transparent);opacity:.6}
.bn-shared-nav .bn-brand{font-family:var(--w3-display)!important;font-size:23px!important;font-weight:600;letter-spacing:-.5px;color:var(--w3-text)}
.bn-shared-nav .bn-brand img{border-radius:11px;box-shadow:0 0 22px -4px rgba(58,230,255,.55)}
.bn-shared-nav .bn-brand-point{background:var(--w3-prism);-webkit-background-clip:text;background-clip:text;color:transparent}
.bn-shared-nav .bn-workspace{border-color:var(--w3-line);background:rgba(255,255,255,.02);border-radius:12px}
.bn-shared-nav .bn-workspace-icon,.bn-shared-nav .bn-user>span{background:var(--w3-prism);color:#0a0718;font-family:var(--w3-display);font-size:13px;border-radius:9px}
.bn-shared-nav .bn-nav-label{color:var(--w3-dim);letter-spacing:2px}
.bn-shared-nav .bn-nav a{font-size:12.5px;color:var(--w3-muted);border-radius:11px;padding:11px 12px;position:relative}
.bn-shared-nav .bn-nav a:hover{background:rgba(141,99,255,.08);color:var(--w3-text)}
.bn-shared-nav .bn-nav a.active{color:var(--w3-text);background:linear-gradient(rgba(22,24,52,.95),rgba(22,24,52,.95)) padding-box,var(--w3-edge) border-box;border:1px solid transparent;box-shadow:0 8px 26px -14px rgba(141,99,255,.9)}
.bn-shared-nav .bn-nav a.active svg{color:var(--w3-cyan);filter:drop-shadow(0 0 6px rgba(58,230,255,.7))}
.bn-shared-nav .bn-nav b{background:var(--w3-prism);color:#0a0718;font-size:7px;font-weight:800;border-radius:6px;padding:3px 6px}
.bn-shared-nav .bn-local{background:rgba(44,245,163,.05);border-color:rgba(44,245,163,.18);border-radius:12px}
.bn-shared-nav .bn-status-dot{background:var(--w3-up);box-shadow:0 0 8px var(--w3-up)}
.bn-shared-nav .bn-local>span:last-child{background:rgba(44,245,163,.12);color:#9ff5d2}
.bn-shared-nav .bn-user{border-color:var(--w3-line)}

/* ---------- Phone chrome ---------- */
.bn-menu-bar{background:rgba(6,7,16,.72);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);border-bottom:1px solid var(--w3-line);font:600 12px var(--w3-body);color:var(--w3-muted)}
.bn-menu-brand{display:flex;align-items:center;gap:8px;color:var(--w3-text)!important;font:600 17px var(--w3-display)!important;letter-spacing:-.4px;text-decoration:none}
.bn-menu-brand img{width:28px;height:28px;border-radius:8px;box-shadow:0 0 16px -3px rgba(58,230,255,.6)}
.bn-menu-brand b{background:var(--w3-prism);-webkit-background-clip:text;background-clip:text;color:transparent}
.bn-menu-bar>span{font-size:11px;padding:6px 11px;border-radius:999px;border:1px solid var(--w3-line);background:rgba(255,255,255,.03);max-width:52vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

.w3-tabbar{height:66px;align-items:stretch;justify-content:space-around;padding:0 6px;border-radius:24px;background:linear-gradient(rgba(12,14,32,.86),rgba(12,14,32,.86)) padding-box,var(--w3-edge) border-box;border:1px solid transparent;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:0 18px 40px -12px rgba(0,0,0,.8),0 0 30px -14px rgba(141,99,255,.8);font-family:var(--w3-body)}
.w3-tab{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:var(--w3-muted)!important;text-decoration:none!important;font-size:10.5px;font-weight:700;letter-spacing:.2px;border-radius:18px;transition:color .2s,transform .15s}
.w3-tab i{display:grid;place-items:center;width:42px;height:28px;border-radius:14px;transition:background .2s}
.w3-tab svg{width:21px;height:21px}
.w3-tab:active{transform:scale(.92)}
.w3-tab[aria-current=page]{color:var(--w3-text)!important}
.w3-tab[aria-current=page] i{background:rgba(58,230,255,.13);color:var(--w3-cyan);box-shadow:0 0 18px -6px var(--w3-cyan)}
.w3-tab-main{position:relative}
.w3-tab-main i{width:54px;height:54px;border-radius:19px;margin-top:-30px;background:var(--w3-prism);color:#0a0718;box-shadow:0 10px 26px -8px rgba(141,99,255,.95),0 0 0 5px var(--w3-bg)}
.w3-tab-main svg{width:25px;height:25px}
.w3-tab-main[aria-current=page] i{background:var(--w3-prism);color:#0a0718;box-shadow:0 10px 26px -6px rgba(58,230,255,.95),0 0 0 5px var(--w3-bg)}
.w3-tab:focus-visible{outline:2px solid var(--w3-cyan);outline-offset:2px}

/* ---------- Home ---------- */
.byhnex-home .bn-main{min-width:0}
.byhnex-home .bn-topbar{background:transparent;border-bottom:1px solid var(--w3-line);height:64px;font-size:12px;color:var(--w3-muted)}
.byhnex-home .bn-topbar b{color:var(--w3-dim)}
.byhnex-home .bn-private{font-size:11px;color:#9ff5d2;padding:6px 11px;border-radius:999px;background:rgba(44,245,163,.07);border:1px solid rgba(44,245,163,.2)}
.w3-cta,.byhnex-home .bn-button{display:inline-flex;align-items:center;gap:8px;font:700 12px var(--w3-body);color:#0a0718!important;background:var(--w3-prism);border:0;border-radius:12px;padding:11px 16px;box-shadow:0 10px 26px -12px rgba(141,99,255,.9);transition:transform .15s,box-shadow .2s}
.w3-cta:hover,.byhnex-home .bn-button:hover{transform:translateY(-1px);box-shadow:0 14px 30px -10px rgba(58,230,255,.8)}
.byhnex-home .bn-content{padding:34px 36px 30px;max-width:1320px;display:flex;flex-direction:column;gap:22px}
.w3-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:28px;align-items:center}
.byhnex-home .bn-eyebrow{font:700 11px var(--w3-body);letter-spacing:3px;text-transform:uppercase;color:var(--w3-cyan);margin:0 0 14px}
.w3-hero h1{font:600 clamp(30px,4.4vw,52px)/1.08 var(--w3-display);letter-spacing:-1.5px;margin:0 0 14px;color:var(--w3-text);text-wrap:balance}
.w3-hero h1 span{background:var(--w3-prism);-webkit-background-clip:text;background-clip:text;color:transparent}
.byhnex-home .bn-intro{font-size:15px;line-height:1.65;color:var(--w3-muted);margin:0;max-width:44ch}

/* live tickers: the one prism-edged block of the hero */
.byhnex-home .bn-live-strip{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0;padding:16px;border-radius:22px;border:1px solid transparent;background:linear-gradient(var(--w3-glass),var(--w3-glass)) padding-box,var(--w3-edge) border-box;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:var(--w3-muted)}
.byhnex-home .bn-live-strip.is-stale{background:linear-gradient(var(--w3-glass),var(--w3-glass)) padding-box,linear-gradient(140deg,rgba(255,200,97,.5),rgba(255,200,97,.08)) border-box}
.w3-live-head{grid-column:1/-1;display:flex;align-items:center;gap:8px;font-size:11.5px}
.w3-live-head b{font-weight:700;color:var(--w3-text);letter-spacing:.3px}
.w3-live-head small{margin-left:auto;color:var(--w3-dim);font-size:11px}
.byhnex-home .bn-live-strip .bn-status-dot{width:8px;height:8px;margin:0;background:var(--w3-up);box-shadow:0 0 10px var(--w3-up);animation:w3-pulse 1.8s infinite}
.byhnex-home .bn-live-strip.is-stale .bn-status-dot{background:var(--w3-gold);box-shadow:0 0 10px var(--w3-gold)}
@keyframes w3-pulse{50%{opacity:.35}}
.w3-ticker{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;padding:14px;border-radius:16px;background:rgba(255,255,255,.03);border:1px solid var(--w3-line);min-width:0}
.w3-ticker>div{min-width:0}
.w3-ticker span{display:block;font-size:11px;font-weight:700;color:var(--w3-muted);letter-spacing:.4px}
.w3-ticker b{display:block;font:600 19px var(--w3-mono);color:var(--w3-text);letter-spacing:-.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.w3-ticker small{margin-left:50px;font:700 12px var(--w3-mono);white-space:nowrap}
.w3-coin{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;font-style:normal;font:700 18px var(--w3-body)}
.w3-coin.btc{color:#ffb547;background:rgba(255,181,71,.12);box-shadow:inset 0 0 0 1px rgba(255,181,71,.3)}
.w3-coin.sol{color:#b48cff;background:linear-gradient(140deg,rgba(58,230,255,.16),rgba(141,99,255,.2));box-shadow:inset 0 0 0 1px rgba(141,99,255,.35)}

/* journey: a real three-step order of use */
.w3-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none;counter-reset:step}
.w3-steps li{counter-increment:step}
.w3-steps a{display:flex;align-items:center;gap:12px;height:100%;padding:13px 15px;border-radius:16px;border:1px dashed rgba(150,160,255,.24);color:var(--w3-text)!important;font-size:13px;font-weight:700;transition:border-color .2s,background .2s}
.w3-steps a::before{content:counter(step);flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;font:600 13px var(--w3-display);color:var(--w3-cyan);border:1px solid rgba(58,230,255,.4);background:rgba(58,230,255,.08)}
.w3-steps a small{display:block;font-size:11.5px;font-weight:500;color:var(--w3-muted);margin-top:2px}
.w3-steps a:hover{border-style:solid;border-color:var(--w3-line-hi);background:rgba(58,230,255,.04)}

/* market pulse tiles */
.w3-pulse{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0}
.w3-tile{position:relative;padding:18px;border-radius:20px;background:var(--w3-glass);border:1px solid var(--w3-line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);display:flex;flex-direction:column;gap:8px;min-width:0}
.w3-label{font-size:11px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;color:var(--w3-muted)}
.w3-tile>b{font:600 25px var(--w3-mono);letter-spacing:-.8px;color:var(--w3-text)}
.w3-tile small{font-size:11.5px;color:var(--w3-dim)}
.w3-tile small a{color:#b9a2ff}
.w3-meter{height:8px;border-radius:99px;background:rgba(255,255,255,.06);overflow:hidden}
.w3-meter i{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#ffb547,#ffd27a);box-shadow:0 0 12px rgba(255,181,71,.6);transition:width .8s}
.w3-mood{flex-direction:row;flex-wrap:wrap;align-items:center;column-gap:14px}
.w3-mood .w3-label,.w3-mood small{width:100%}
.w3-gauge{--v:50;position:relative;width:118px;height:75px;flex:none}
.w3-gauge svg{display:block;width:100%;height:100%;overflow:visible}
.w3-gauge .needle{transform-origin:60px 60px;transform:rotate(calc(var(--v) * 1.8deg - 90deg));transition:transform 1s cubic-bezier(.3,1.4,.5,1)}
.w3-mood>b{font:600 17px/1.35 var(--w3-body);letter-spacing:-.2px;flex:1;min-width:110px}

/* toolbox */
.byhnex-home .bn-library-title{margin:6px 0 0;align-items:center}
.byhnex-home .bn-library h2{font:600 20px var(--w3-display);letter-spacing:-.5px;color:var(--w3-text)}
.byhnex-home .bn-library-title>div>span{font-size:12px;color:var(--w3-muted)}
.byhnex-home .bn-search{background:var(--w3-glass);border-color:var(--w3-line);border-radius:12px;padding:10px 13px}
.byhnex-home .bn-search input{font:500 13px var(--w3-body);color:var(--w3-text)}
.byhnex-home .bn-filters{border:0;margin:14px 0 16px;padding:0;gap:8px;overflow-x:auto;scrollbar-width:none}
.byhnex-home .bn-filters::-webkit-scrollbar{display:none}
.byhnex-home .bn-filters button{flex:none;font:700 12.5px var(--w3-body);color:var(--w3-muted);padding:9px 15px;border-radius:999px;border:1px solid var(--w3-line);background:rgba(255,255,255,.02);min-height:40px}
.byhnex-home .bn-filters button.selected{color:#0a0718;background:var(--w3-prism);border-color:transparent}
.byhnex-home .bn-filters button span{background:rgba(10,7,24,.25);color:inherit;border-radius:99px;padding:1px 7px;font-size:11px}
.byhnex-home .bn-tool-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.byhnex-home .bn-tool-card{min-height:0;padding:20px;border-radius:22px;border:1px solid transparent;background:linear-gradient(var(--w3-glass),var(--w3-glass)) padding-box,linear-gradient(160deg,rgba(150,160,255,.22),rgba(150,160,255,.05)) border-box;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);transition:transform .2s,box-shadow .25s,background .25s}
.byhnex-home .bn-tool-card::before{display:none}
.byhnex-home .bn-tool-card:hover{transform:translateY(-4px);background:linear-gradient(var(--w3-glass-hi),var(--w3-glass-hi)) padding-box,var(--w3-edge) border-box;box-shadow:0 24px 50px -24px rgba(141,99,255,.9)}
.byhnex-home .bn-card-top{margin-bottom:16px}
.byhnex-home .bn-tool-icon{width:48px;height:48px;border-radius:15px;border:0;color:#fff;box-shadow:0 10px 22px -10px currentColor}
.byhnex-home .bn-tool-icon svg{width:24px;height:24px}
.byhnex-home .bn-color-1{background:linear-gradient(140deg,#16c79a,#0e6e8c);color:#d8fff1}
.byhnex-home .bn-color-4{background:linear-gradient(140deg,#5b7bff,#8d63ff);color:#eef0ff}
.byhnex-home .bn-color-5{background:linear-gradient(140deg,#ff52d9,#ff8a5c);color:#fff2fb}
.byhnex-home .bn-color-6{background:linear-gradient(140deg,#3ae6ff,#8d63ff);color:#071021}
.byhnex-home .bn-favorite{font-size:22px;color:var(--w3-dim);width:44px;height:44px;margin:-8px -8px 0 0;border-radius:12px}
.byhnex-home .bn-favorite[aria-pressed=true]{color:var(--w3-gold);text-shadow:0 0 12px rgba(255,200,97,.7)}
.byhnex-home .bn-card-category{font:700 10.5px var(--w3-body);letter-spacing:1.8px;color:var(--w3-cyan);margin-bottom:8px}
.byhnex-home .bn-tool-link h3{font:600 16px/1.3 var(--w3-display);letter-spacing:-.3px;color:var(--w3-text);margin-bottom:8px}
.byhnex-home .bn-tool-link h3 span{color:var(--w3-dim)}
.byhnex-home .bn-tool-link p{font-size:13px;line-height:1.6;color:var(--w3-muted)}
.byhnex-home .bn-card-meta{margin-top:16px;padding-top:12px;border-top:1px solid var(--w3-line);font-size:11.5px;color:var(--w3-dim)}
.byhnex-home .bn-card-meta>span{background:var(--w3-up);box-shadow:0 0 6px var(--w3-up)}
.byhnex-home .bn-empty{border-color:var(--w3-line);border-radius:20px;color:var(--w3-muted)}
.byhnex-home .bn-bottom-note{margin:0;border-radius:20px;border:1px solid var(--w3-line);background:rgba(255,255,255,.02);padding:16px 18px}
.byhnex-home .bn-bottom-note>span{display:none}
.byhnex-home .bn-bottom-note b{font-size:13px;color:var(--w3-text)}
.byhnex-home .bn-bottom-note p{font-size:12px;color:var(--w3-muted)}
.byhnex-home .bn-bottom-note a{font-size:12.5px;font-weight:700;color:var(--w3-cyan)}
.byhnex-home .bn-footer{margin:0;font-size:11px;color:var(--w3-dim)}
.w3-swipe-hint{display:none}

/* ---------- Tool pages (saisonnalité, rainbow…) ---------- */
html .byhnex-tool{font-family:var(--w3-body)!important}
html .byhnex-tool>.container>header{border-color:var(--w3-line)}
html .byhnex-tool h1{font-family:var(--w3-display)!important;font-weight:600!important;letter-spacing:-.6px!important}
html .byhnex-tool .card,html .byhnex-tool .panel,html .byhnex-tool .table-wrap{background:var(--w3-glass)!important;border-color:var(--w3-line)!important;border-radius:20px!important;-webkit-backdrop-filter:blur(14px)!important;backdrop-filter:blur(14px)!important}
html .byhnex-tool th{background:rgba(141,99,255,.08)!important;color:var(--w3-muted)!important}
html .byhnex-tool td{border-color:rgba(150,160,255,.08)!important}
html .byhnex-tool .warn{background:rgba(255,200,97,.06)!important;border-color:rgba(255,200,97,.28)!important;color:#ffd994!important;border-radius:16px!important}
html .byhnex-tool .back{color:var(--w3-text)!important;background:rgba(255,255,255,.04)!important;border-color:var(--w3-line)!important;border-radius:12px!important}
html .byhnex-tool .go{background:var(--w3-prism)!important;color:#0a0718!important;border-radius:12px!important;font-weight:700!important}
html .byhnex-tool select,html .byhnex-tool input{background:rgba(5,6,14,.7)!important;border-color:var(--w3-line)!important;border-radius:10px!important}
html .byhnex-tool .tabs,html .byhnex-tool .tab-bar,html .byhnex-tool .coins{overflow-x:auto;scrollbar-width:none}

/* ---------- Tablet ---------- */
@media(max-width:1180px){
  .byhnex-home .bn-tool-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:1000px){
  .w3-hero{grid-template-columns:1fr}
}

/* ---------- Phones: fewer screens of scrolling, swipe sideways instead ---------- */
@media(max-width:760px){
  body.bn-shared-nav.byhnex-tool{padding-left:16px!important;padding-right:16px!important}
  html .byhnex-tool .brand img,html .byhnex-tool>.container>header .back{display:none!important}
  html .byhnex-tool>.container>header{padding-bottom:14px;margin-bottom:16px}
  .byhnex-home .bn-topbar{display:none}
  .byhnex-home .bn-content{padding:16px 16px 8px;gap:16px}
  .byhnex-home .bn-eyebrow{font-size:10px;letter-spacing:2.4px;margin-bottom:8px}
  .w3-hero{gap:14px}
  .w3-hero h1{font-size:30px;letter-spacing:-1px;margin-bottom:8px}
  .byhnex-home .bn-intro{font-size:13.5px;line-height:1.55}
  .byhnex-home .bn-live-strip{padding:12px;gap:8px;border-radius:20px}
  .w3-ticker{gap:4px 10px;padding:11px}
  .w3-ticker b{font-size:16px}
  .w3-ticker small{margin-left:48px;font-size:11.5px}
  .w3-coin{width:38px;height:38px}
  /* horizontal rails */
  .w3-rail{display:grid!important;grid-auto-flow:column;grid-template-columns:none!important;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:16px;margin-inline:-16px!important;padding:2px 16px 6px!important;scrollbar-width:none}
  .w3-rail::-webkit-scrollbar{display:none}
  .w3-rail>*{scroll-snap-align:start}
  .w3-steps{grid-auto-columns:76%}
  .w3-pulse{grid-auto-columns:80%}
  .byhnex-home .bn-tool-grid{grid-auto-columns:82%;gap:12px}
  .byhnex-home .bn-tool-card[hidden]{display:none}
  .w3-tile{padding:15px}
  .byhnex-home .bn-library-title{display:flex;align-items:center}
  .byhnex-home .bn-library-title>div{display:flex;align-items:baseline;gap:10px}
  .byhnex-home .bn-search{display:none}
  .w3-swipe-hint{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:700;color:var(--w3-cyan);white-space:nowrap}
  .w3-swipe-hint i{font-style:normal;display:inline-block;animation:w3-nudge 1.6s ease-in-out infinite}
  .byhnex-home .bn-filters{margin:10px -16px 12px;padding:0 16px}
  .byhnex-home .bn-tool-link p{font-size:12.5px}
  .byhnex-home .bn-bottom-note{flex-direction:column;align-items:flex-start;gap:8px}
  .byhnex-home .bn-bottom-note a{margin:0}
  .byhnex-home .bn-footer{flex-direction:column;gap:4px}
}
@keyframes w3-nudge{50%{transform:translateX(4px)}}
@media(prefers-reduced-motion:reduce){
  .w3-gauge .needle,.w3-meter i,.w3-tab,.byhnex-home .bn-tool-card{transition:none}
  .w3-swipe-hint i,.byhnex-home .bn-live-strip .bn-status-dot{animation:none}
}

/* ---------- Graphique & accumulation (style.css page) ---------- */
body.bn-graph-page{--bg:#05060e;--panel:rgba(16,19,40,.62);--border:rgba(150,160,255,.14);--muted:#8f95bd;--text:#eef0ff;--green:#2cf5a3;font-family:var(--w3-body)!important}
.bn-graph-page>main>header{background:transparent;border-color:var(--w3-line);height:62px}
.bn-graph-page .heading h1{font:600 30px/1.15 var(--w3-display);letter-spacing:-1px}
.bn-graph-page .eyebrow{color:var(--w3-cyan);font-weight:700;letter-spacing:2.6px}
.bn-graph-page .metric{border-radius:18px;background:var(--w3-glass);border-color:var(--w3-line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.bn-graph-page .metric:first-child{border-color:transparent;background:linear-gradient(var(--w3-glass),var(--w3-glass)) padding-box,var(--w3-edge) border-box}
.bn-graph-page .metric-value{font-family:var(--w3-mono);letter-spacing:-1px}
.bn-graph-page .metric-label{font-weight:700;letter-spacing:.4px}
.bn-graph-page .panel{border-radius:20px;background:var(--w3-glass);border-color:var(--w3-line)}
.bn-graph-page .asset-tab.selected{border-color:var(--w3-cyan)}
.bn-graph-page .segmented button.selected{background:rgba(58,230,255,.12);color:var(--w3-cyan)}
.bn-graph-page .button,.bn-graph-page .chart-controls button,.bn-graph-page .chart-controls select{border-radius:10px}
.bn-graph-page .button{background:rgba(255,255,255,.04);border-color:var(--w3-line);color:var(--w3-text);font-weight:700}
.bn-graph-page .primary{background:var(--w3-prism);color:#0a0718;border:0;border-radius:12px;min-height:44px;font-size:12.5px;box-shadow:0 10px 24px -12px rgba(141,99,255,.9)}
.bn-graph-page .input-wrap{border-radius:12px;background:rgba(5,6,14,.7);border-color:var(--w3-line)}
.bn-graph-page .input-wrap input,.bn-graph-page .lab input{font-family:var(--w3-mono)}
.bn-graph-page .tag{border-radius:999px;background:rgba(141,99,255,.1);border-color:rgba(141,99,255,.3);color:#c9b8ff}
.bn-graph-page h2{font-family:var(--w3-display);font-weight:600;letter-spacing:-.3px}
.bn-graph-page dialog{border-radius:22px;background:#0d1024;border:1px solid var(--w3-line);color:var(--w3-text)}
@media(max-width:760px){
  .bn-graph-page>main>header{display:none}
  .bn-graph-page .content{padding:16px 16px 8px}
  .bn-graph-page .heading{flex-wrap:wrap;gap:10px;margin-bottom:14px}
  .bn-graph-page .heading h1{font-size:22px;margin:6px 0}
  .bn-graph-page .heading p{font-size:12.5px}
  .bn-graph-page .metrics{display:grid!important;grid-auto-flow:column;grid-template-columns:none!important;grid-auto-columns:46%;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin:0 -16px 14px;padding:0 16px;gap:10px}
  .bn-graph-page .metrics::-webkit-scrollbar{display:none}
  .bn-graph-page .metric{scroll-snap-align:start;padding:13px}
  .bn-graph-page .metric-value{font-size:20px;margin:8px 0 6px}
  .bn-graph-page .asset-tabs,.bn-graph-page .chart-controls{overflow-x:auto;flex-wrap:nowrap!important;scrollbar-width:none}
  .bn-graph-page .asset-tabs::-webkit-scrollbar,.bn-graph-page .chart-controls::-webkit-scrollbar{display:none}
  .bn-graph-page .asset-tab,.bn-graph-page .chart-controls>*{flex:none}
}

/* Home: one screen, no scroll. Title + live prices, market pulse, the four tools; sizes follow the screen height. */
.byhnex-home .home-fit{min-height:calc(100vh - 64px);min-height:calc(100dvh - 64px);box-sizing:border-box;justify-content:center;gap:clamp(14px,2.8vh,30px);padding-top:clamp(16px,3vh,34px);padding-bottom:clamp(14px,2.4vh,26px)}
.byhnex-home .home-fit .w3-hero h1{margin:0;font-size:clamp(28px,min(3.1vw,7vh),58px);overflow-wrap:normal;text-wrap:balance}
.byhnex-home .home-fit .w3-hero>div{min-width:0}
.byhnex-home .home-fit .w3-tile{min-height:clamp(120px,19vh,190px);justify-content:center;padding:clamp(16px,2.4vh,24px)}
.byhnex-home .home-fit .w3-tile>b{font-size:clamp(22px,3.4vh,30px)}
.home-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.home-tool{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:14px;min-height:clamp(96px,17vh,176px);padding:clamp(14px,2.2vh,22px);border-radius:20px;background:var(--w3-glass);border:1px solid var(--w3-line);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);color:var(--w3-text);text-decoration:none;min-width:0;box-sizing:border-box;transition:transform .15s,border-color .2s,box-shadow .2s}
.home-tool:hover,.home-tool:focus-visible{transform:translateY(-2px);border-color:rgba(58,230,255,.45);box-shadow:0 14px 34px -18px rgba(58,230,255,.7);outline:none}
.home-tool .bn-tool-icon{flex:none;width:clamp(40px,5.6vh,52px);height:clamp(40px,5.6vh,52px);border-radius:14px;display:grid;place-items:center}
.home-tool>span{display:flex;flex-direction:column;gap:4px;min-width:0}
.home-tool small{font:700 10px var(--w3-body);letter-spacing:1.6px;text-transform:uppercase;color:var(--w3-cyan);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-tool b{font:600 clamp(15px,2.1vh,18px)/1.25 var(--w3-display);letter-spacing:-.3px}
.home-tool em{position:absolute;top:16px;right:18px;font-style:normal;color:var(--w3-dim)}
.home-foot{margin:0;text-align:center;font-size:11.5px;color:var(--w3-dim)}
@media(max-width:1180px){.home-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.home-tool{min-height:0;flex-direction:row;align-items:center;justify-content:flex-start}}
@media(max-width:760px){
  .byhnex-home .home-fit{min-height:0;justify-content:flex-start;gap:10px;padding:10px 16px 6px}
  .byhnex-home .home-fit .w3-hero h1{font-size:26px}
  .byhnex-home .home-fit #live-age{display:none}
  .byhnex-home .home-fit .w3-hero h1{white-space:normal}
  .byhnex-home .home-fit .w3-ticker{flex-wrap:nowrap;padding:10px;gap:8px}
  .byhnex-home .home-fit .w3-ticker>div{flex:1}
  .byhnex-home .home-fit .w3-ticker b{font-size:14.5px}
  .byhnex-home .home-fit .w3-ticker small{margin:0;font-size:11px}
  .byhnex-home .home-fit .w3-ticker{flex-wrap:wrap}
  .byhnex-home .home-fit .w3-ticker small{width:100%;padding-left:38px}
  .byhnex-home .home-fit .w3-coin{width:30px;height:30px;border-radius:10px;font-size:15px}
  .byhnex-home .home-fit .w3-gauge{width:92px;height:58px}
  .byhnex-home .home-fit .w3-mood>b{font-size:15px;min-width:90px}
  .byhnex-home .home-fit .w3-tile{gap:6px}
  .byhnex-home .home-fit .w3-tile{min-height:0;padding:14px}
  .home-tools{gap:8px}
  .home-tool{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:8px;padding:10px 12px;border-radius:16px}
  .home-tool .bn-tool-icon{width:34px;height:34px;border-radius:11px}
  .home-tool .bn-tool-icon svg{width:19px;height:19px}
  .home-tool small{display:none}
  .home-tool b{font-size:12.5px;overflow-wrap:anywhere}
  .home-tool em{display:none}
  .home-foot{font-size:10.5px}
}
@media(prefers-reduced-motion:reduce){.home-tool{transition:none}}

/* Accumulation: lab, cycles journal and HOLD comparison share one side column. */
.bn-graph-page .side-col{display:contents}
/* PC (≥ 1280 × 740): one screen, no page scroll; the chart takes the room left, the side column scrolls. */
@media(min-width:1280px) and (min-height:740px){
  body.bn-graph-page:not(.embed):not(.chart-expanded) .content{height:calc(100vh - 62px);height:calc(100dvh - 62px);box-sizing:border-box;display:flex;flex-direction:column;gap:12px;padding:14px 24px 8px;overflow:hidden}
  body.bn-graph-page:not(.embed):not(.chart-expanded) .heading{margin:0;flex:none}
  body.bn-graph-page:not(.embed):not(.chart-expanded) .heading h1{font-size:24px;margin:0}
  body.bn-graph-page:not(.embed):not(.chart-expanded) .heading .eyebrow,body.bn-graph-page:not(.embed):not(.chart-expanded) .heading p.muted{display:none}
  body.bn-graph-page:not(.embed):not(.chart-expanded) .metrics{margin:0;flex:none;gap:12px}
  body.bn-graph-page:not(.embed):not(.chart-expanded) .metric{padding:12px 16px}
  body.bn-graph-page:not(.embed):not(.chart-expanded) .metric-value{margin:6px 0 4px;font-size:22px}
  body.bn-graph-page:not(.embed):not(.chart-expanded) .market-layout{flex:1;min-height:0;align-items:stretch;grid-template-columns:minmax(0,1fr) clamp(300px,24vw,370px);gap:14px}
  body.bn-graph-page:not(.embed):not(.chart-expanded) .chart-panel{display:flex;flex-direction:column;min-height:0}
  body.bn-graph-page:not(.embed):not(.chart-expanded) .chart-body{flex:1;min-height:0}
  body.bn-graph-page:not(.embed):not(.chart-expanded) #chart{height:100%!important;min-height:180px}
  body.bn-graph-page:not(.embed):not(.chart-expanded) #tools{max-height:100%;overflow-y:auto;scrollbar-width:none}
  body.bn-graph-page:not(.embed):not(.chart-expanded) .side-col{display:flex;flex-direction:column;gap:12px;min-height:0;overflow-y:auto;scrollbar-width:thin;padding-right:2px}
  body.bn-graph-page:not(.embed):not(.chart-expanded) .side-col>.panel{flex:none}
  body.bn-graph-page:not(.embed):not(.chart-expanded) .side-col .table-wrap{overflow-x:auto}
  body.bn-graph-page:not(.embed):not(.chart-expanded) .chart-note,body.bn-graph-page:not(.embed):not(.chart-expanded) #chart-hint,body.bn-graph-page:not(.embed):not(.chart-expanded) .lab>p.muted,body.bn-graph-page:not(.embed):not(.chart-expanded) .lab-footnote,body.bn-graph-page:not(.embed):not(.chart-expanded) .benchmark-note{display:none}
  body.bn-graph-page:not(.embed):not(.chart-expanded) .content>footer{flex:none;padding:4px 0 0;margin:0}
}
@media(min-width:1280px) and (min-height:740px) and (max-height:880px){
  body.bn-graph-page:not(.embed):not(.chart-expanded) #ohlc,body.bn-graph-page:not(.embed):not(.chart-expanded) .chart-legend,body.bn-graph-page:not(.embed):not(.chart-expanded) .heading{display:none}
  body.bn-graph-page:not(.embed):not(.chart-expanded) .metric-label+*{margin-top:2px}
  body.bn-graph-page:not(.embed):not(.chart-expanded) .chart-heading{padding-top:10px;padding-bottom:6px}
  body.bn-graph-page:not(.embed):not(.chart-expanded) .chart-price strong{font-size:24px}
}
