/* dagcore.net's header and wallet toast, as the site styles them (taken from the live status.html),
   scoped to .site-header / .wallet-toast so nothing else on the page changes. The site's variables live
   here too, not on :root, where the panel keeps its own. */
:is(.site-header, .wallet-toast) { --accent: #4d9dff; --accent-hover: #86bdff; --line-soft: rgba(90, 130, 190, 0.14); --muted: #a9bcd3; --button: #1668d8; --button-shadow: 0 8px 24px rgba(29, 123, 245, 0.3); --button-hover: #2a7ae6; --text: #e8eef7; --line-strong: rgba(110, 155, 220, 0.28); --button-text: #ffffff; --card-line: rgba(130, 160, 205, 0.2); --text-2: #cfe0f4; }
.site-header { font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: normal; color: var(--text); }
.wallet-toast { font-family: Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: normal; color: var(--text); }
:is(.site-header, .wallet-toast), :is(.site-header, .wallet-toast) * { box-sizing: border-box; }
:is(.site-header, .wallet-toast) a { color: var(--accent); text-decoration: none; }
:is(.site-header, .wallet-toast) :is(p, li, dd, td) a:not(.svc-btn, .text-link, .panel-link, .logo) { text-decoration: underline 1px; text-underline-offset: 0.2em; }
:is(.site-header, .wallet-toast) :is(p, li, dd, td) a:not(.svc-btn, .text-link, .panel-link, .logo):hover, :is(.site-header, .wallet-toast) :is(p, li, dd, td) a:not(.svc-btn, .text-link, .panel-link, .logo):focus-visible { text-decoration-thickness: 2px; }
:is(.site-header, .wallet-toast) a:hover { color: var(--accent-hover); }
:is(.site-header, .wallet-toast) [hidden] { display: none !important; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; padding: 16px 32px; border-bottom: 1px solid var(--line-soft); background: rgba(6, 11, 20, 0.75); }
:is(.site-header, .wallet-toast) .logo { display: flex; align-items: center; flex: 0 0 auto; }
:is(.site-header, .wallet-toast) .logo img { display: block; height: 44px; width: auto; }
:is(.site-header, .wallet-toast) .site-nav { display: flex; align-items: center; gap: 6px 26px; font-size: 15.5px; }
:is(.site-header, .wallet-toast) .site-nav a { color: var(--muted); padding: 8px 0px; border-bottom: 2px solid transparent; white-space: nowrap; }
:is(.site-header, .wallet-toast) .site-nav a:hover { color: rgb(255, 255, 255); }
:is(.site-header, .wallet-toast) .site-nav a[aria-current="page"] { color: rgb(255, 255, 255); border-bottom-color: var(--button); }
:is(.site-header, .wallet-toast) .site-nav a.nav-incidents { color: rgb(255, 255, 255); background: rgb(198, 40, 40); padding: 4px 11px; border-radius: 999px; border-bottom: 0px; font-weight: 600; }
:is(.site-header, .wallet-toast) .site-nav a.nav-incidents:hover, :is(.site-header, .wallet-toast) .site-nav a.nav-incidents:focus-visible { color: rgb(255, 255, 255); background: rgb(169, 31, 31); }
@media (max-width: 1260px) { :is(.site-header, .wallet-toast) .site-nav { order: 3; width: 100%; flex-wrap: wrap; gap: 0px 22px; } }
.site-header .btn-wallet { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; background: var(--button); color: rgb(255, 255, 255); font-style: inherit; font-variant: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-weight: 600; font-size: 15.5px; padding: 10px 18px; border: 0px; border-radius: 9px; cursor: pointer; box-shadow: var(--button-shadow); }
.site-header .btn-wallet:hover { background: var(--button-hover); }
@media (max-width: 1120px) { .site-header { padding: 14px 20px; } }
@media (max-width: 1120px) { :is(.site-header, .wallet-toast) .site-nav { order: 3; width: 100%; flex-wrap: wrap; gap: 0px 22px; } }
@media (max-width: 420px) { :is(.site-header, .wallet-toast) .logo img { height: 32px; } }
@media (max-width: 420px) { .site-header .btn-wallet { padding: 8px 12px; font-size: 14.5px; } }
.wallet-toast { position: fixed; top: 86px; right: 20px; z-index: 40; display: flex; gap: 10px; align-items: flex-start; max-width: min(440px, -40px + 100vw); padding: 12px 12px 12px 16px; font-size: 14.5px; line-height: 1.6; color: var(--text); background: rgb(12, 22, 40); border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: rgba(0, 0, 0, 0.55) 0px 16px 40px; }
.wallet-toast p { margin: 0px; }
.wallet-toast button { flex: 0 0 auto; width: 30px; height: 30px; padding: 0px; font-size: 18px; line-height: 1; background: transparent; color: var(--muted); border: 1px solid transparent; border-radius: 8px; }
.wallet-toast button:hover { background: rgba(255, 255, 255, 0.06); color: rgb(255, 255, 255); border-color: transparent; }
:is(.site-header, .wallet-toast) button { font-style: inherit; font-variant: inherit; font-stretch: inherit; line-height: inherit; font-family: inherit; font-optical-sizing: inherit; font-size-adjust: inherit; font-kerning: inherit; font-feature-settings: inherit; font-variation-settings: inherit; font-size: 16.5px; font-weight: 600; padding: 12px 20px; background: var(--button); color: var(--button-text); border: 1px solid var(--button); border-radius: 10px; cursor: pointer; }
:is(.site-header, .wallet-toast) button:hover { background: var(--button-hover); border-color: var(--button-hover); }
@media (min-width: 1380px) { .site-header { padding-left: calc(50% - 632px); padding-right: calc(50% - 632px); } }
@media (min-width: 1760px) { .site-header { padding-left: calc(12.5% + 28px); padding-right: calc(12.5% + 28px); } }
@media (min-width: 641px) { .site-header { position: sticky; top: 0px; z-index: 40; background: rgba(6, 11, 20, 0.9); backdrop-filter: blur(8px); } }
@media (min-width: 641px) { .site-header { background: rgba(3, 6, 12, 0.92); } }
.site-header { background: rgba(3, 6, 12, 0.92); }
:is(.site-header, .wallet-toast) .nav-menu { background: rgb(7, 13, 25); }
:is(.site-header, .wallet-toast) a, :is(.site-header, .wallet-toast) button, :is(.site-header, .wallet-toast) .svc, :is(.site-header, .wallet-toast) .live-card, :is(.site-header, .wallet-toast) .svc-btn, :is(.site-header, .wallet-toast) .copy, :is(.site-header, .wallet-toast) .btn-ghost, :is(.site-header, .wallet-toast) .btn-wallet, :is(.site-header, .wallet-toast) .nav-more summary { transition: color 0.18s, background-color 0.18s, border-color 0.18s; }
@media (prefers-reduced-motion: reduce) { :is(.site-header, .wallet-toast) a, :is(.site-header, .wallet-toast) button, :is(.site-header, .wallet-toast) .svc, :is(.site-header, .wallet-toast) .live-card, :is(.site-header, .wallet-toast) .svc-btn, :is(.site-header, .wallet-toast) .copy, :is(.site-header, .wallet-toast) .btn-ghost, :is(.site-header, .wallet-toast) .btn-wallet, :is(.site-header, .wallet-toast) .nav-more summary { transition: none; } }
:is(.site-header, .wallet-toast) .btn-wallet { box-shadow: none; }
:is(.site-header, .wallet-toast) .site-nav { gap: 6px 24px; }
:is(.site-header, .wallet-toast) .nav-more { position: relative; }
:is(.site-header, .wallet-toast) .nav-more summary { list-style: none; cursor: pointer; color: var(--muted); padding: 8px 0px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
:is(.site-header, .wallet-toast) .nav-more summary::-webkit-details-marker { display: none; }
:is(.site-header, .wallet-toast) .nav-more summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentcolor; border-bottom: 1.5px solid currentcolor; transform: translateY(-2px) rotate(45deg); }
:is(.site-header, .wallet-toast) .nav-more summary:hover, :is(.site-header, .wallet-toast) .nav-more[open] summary { color: rgb(255, 255, 255); }
:is(.site-header, .wallet-toast) .nav-menu { position: absolute; top: calc(100% + 8px); left: -14px; z-index: 50; min-width: 190px; padding: 6px; display: grid; background: rgb(11, 20, 36); border: 1px solid var(--card-line); border-radius: 10px; box-shadow: rgba(0, 0, 0, 0.5) 0px 16px 40px; }
:is(.site-header, .wallet-toast) .nav-menu a { padding: 9px 12px; border-radius: 6px; border: 0px; color: var(--text-2); }
:is(.site-header, .wallet-toast) .nav-menu a:hover, :is(.site-header, .wallet-toast) .nav-menu a:focus-visible { background: rgba(77, 157, 255, 0.1); color: rgb(255, 255, 255); }
@media (max-width: 1260px) { :is(.site-header, .wallet-toast) .site-nav { order: 0; width: auto; flex-wrap: nowrap; } }
@media (max-width: 760px) { :is(.site-header, .wallet-toast) .site-nav { order: 3; width: 100%; flex-wrap: wrap; gap: 0px 20px; } }
.site-header .btn-wallet, :is(.site-header, .wallet-toast) #lookup > button[type="submit"], :is(.site-header, .wallet-toast) .btn-primary { box-shadow: none; }
:is(.site-header, .wallet-toast) .nav-more.is-current summary { color: rgb(255, 255, 255); }

/* The site's background on /node (2026-11-11, as on every dagcore.net page): black page, the faint fractal clouds
   (SVG feTurbulence, fixed, still) outside the box, and the content in one box of at most 1320 px (75 % from 1760 px)
   with the site's radial gradient from the top centre, its border and shadow. The panel has no footer, so the box
   closes itself: border on all sides, all four corners rounded. */
/* The black goes on html, body stays transparent: app.css paints both opaque, and an opaque body box is drawn over
   the z-index -1 fractal as soon as the page grows (on the site, html has no background, so body's goes to the canvas). */
html:has(> body.dc) { background: #000; }
body.dc { background: transparent; }
body.dc::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%271000%27%20height%3D%271000%27%3E%3Cfilter%20id%3D%27f%27%20x%3D%270%27%20y%3D%270%27%20width%3D%27100%25%27%20height%3D%27100%25%27%3E%3CfeTurbulence%20type%3D%27fractalNoise%27%20baseFrequency%3D%270.0075%27%20numOctaves%3D%275%27%20seed%3D%2711%27%20stitchTiles%3D%27stitch%27%2F%3E%3CfeColorMatrix%20type%3D%27matrix%27%20values%3D%270%200%200%200%200.22%200%200%200%200%200.50%200%200%200%200%201.0%200.6%200.6%200.6%200%20-0.30%27%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%27100%25%27%20height%3D%27100%25%27%20filter%3D%27url%28%23f%29%27%2F%3E%3C%2Fsvg%3E");
  background-size: 1000px 1000px; opacity: 0.18; }
body.dc .dc-page { max-width: 1320px; box-sizing: border-box; margin: 24px auto; padding-top: var(--space-6);
  border: 1px solid rgba(110, 155, 220, 0.34); border-radius: 18px;
  background: radial-gradient(1100px 700px at 50% 0%, #0e1a30 0%, #08101b 55%, #060a12 100%) no-repeat, #060a12;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 24px 70px rgba(0, 0, 0, 0.65), 0 0 60px rgba(77, 157, 255, 0.08); }
@media (min-width: 1760px) { body.dc .dc-page { max-width: 75%; } }
@media (max-width: 1380px) and (min-width: 641px) { body.dc .dc-page { margin-left: 16px; margin-right: 16px; } }
@media (max-width: 640px) { body.dc .dc-page { margin: 0; border-left: 0; border-right: 0; border-radius: 0; } }
