/* Shared additions; theme colors remain owned by css/skins/*.css. */
:root { --scroll-thumb: var(--text-muted); --scroll-track: var(--bg-primary); }
html { scrollbar-gutter: stable; scrollbar-color: var(--scroll-thumb) var(--scroll-track); scrollbar-width: auto; }
* { scrollbar-color: var(--scroll-thumb) var(--scroll-track); }
*::-webkit-scrollbar { width: 12px; height: 12px; }
*::-webkit-scrollbar-track { background: var(--scroll-track); }
*::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border: 3px solid var(--scroll-track); border-radius: 6px; }
*::-webkit-scrollbar-thumb:hover, *::-webkit-scrollbar-thumb:active { background: var(--text-primary); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--text-primary); outline-offset: 3px; }
button, [role="button"] { cursor: pointer; }
#node-status { position: relative; z-index: 1100; padding: 12px 16px; background: var(--bg-secondary); color: var(--text-primary); text-align: center; min-height: 48px; border-bottom: 1px solid var(--border-color); }
.idx-hero-logo { object-fit: contain; }
.guide { max-width: 900px; margin: 0 auto; padding: 24px 16px; color: var(--text-primary); }
.guide table { width: 100%; border-collapse: collapse; }
.guide th, .guide td { padding: 12px; text-align: left; border-bottom: 1px solid var(--border-color); }
.guide code { overflow-wrap: anywhere; }
@media (prefers-reduced-motion: reduce) { *:not(:where(.np-network-map[data-map-motion="enabled"] *)), *:not(:where(.np-network-map[data-map-motion="enabled"] *))::before, *:not(:where(.np-network-map[data-map-motion="enabled"] *))::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (forced-colors: active) { * { scrollbar-color: auto; } a:focus-visible, button:focus-visible, input:focus-visible { outline-color: Highlight; } }

/* High-resolution Bitcoin hero: calm motion with a stable layout box. */
#animatedGif.idx-hero-logo {
  animation: nerdpoolBitcoinFloat 6s ease-in-out infinite;
  transform-origin: center;
  aspect-ratio: 1 / 1;
}
@keyframes nerdpoolBitcoinFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}
@media (prefers-reduced-motion: reduce) {
  #animatedGif.idx-hero-logo { animation: none; transform: none; transition: none; }
}

/* Compact main-interface attribution replaces the removed page footers. */
.ui-attribution { margin: 0; padding: 6px 16px; text-align: right; color: var(--text-primary); background: var(--bg-secondary); font-size: 14px; line-height: 1.5; }
.ui-attribution a { color: var(--text-primary); text-decoration: underline; }
.ui-attribution a:hover { text-decoration-thickness: 2px; }
