@font-face {
  font-family: Norwester;
  src: url('assets/norwester.woff') format('woff');
  font-display: swap;
}
:root {
  color-scheme: dark;
  --display: Norwester, Impact, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: system-ui, sans-serif;
}
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.shell { width: min(940px, calc(100% - 28px)); margin-inline: auto; }
.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
}
.brand { font: 26px var(--display); text-decoration: none; }
.brand span { color: #b9bec5; }
.aid-explorer summary {
  background: #111;
  border-color: #62656a;
  color: #fff;
}
.aid-explorer summary::after { color: #ddd; }
.site-header .aid-explorer nav { background: #101010; }
.site-header .aid-explorer nav a { color: #eee; }
.site-header .aid-explorer nav .explore-aid,
.site-header .aid-explorer nav .explore-contact { color: #ddd; background: #222; }
.site-header .aid-explorer nav a:hover { background: #333; }
.video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 35px #c2c9d51c;
}
video { display: block; width: 100%; height: 100%; object-fit: contain; }
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.sound {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #a0a0a0;
  border-radius: 50%;
  background: #000c;
  color: #fff;
}
.play-row { display: flex; justify-content: center; padding: 5px 0; }
#play {
  min-height: 34px;
  padding: 4px 14px;
  border: 0;
  background: transparent;
  color: #c5c8cd;
  font: 14px var(--display);
}
h1, h2, .subtitle { font-family: var(--display); font-weight: 400; }
h1 {
  margin: 0;
  font-size: clamp(32px, 5.5vw, 54px);
  line-height: 1.04;
  text-align: center;
  color: #e2e4e8;
}
.subtitle { text-align: center; margin: 3px 0 12px; font-size: 23px; }
.story { max-width: 660px; margin: auto; text-align: center; }
.story p { margin: 7px 0; color: #d3d4d7; font-size: 15px; line-height: 1.5; }
h2 { font-size: clamp(21px, 3vw, 29px); line-height: 1.22; margin: 13px 0; }
.support { max-width: 660px; margin: 16px auto 0; }
.card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  background: linear-gradient(125deg, #252629, #080808);
  border: 1px solid #5b5d62;
  border-radius: 7px;
  color: #fff;
  font: 18px var(--display);
  text-decoration: none;
}
.card:hover { background: #303237; }
.card small { display: block; margin-top: 4px; font: 12px system-ui; color: #c8cbd0; }
.donate { min-height: 64px; font-size: 23px; }
.donation-note { color: #b8bbc1; text-align: center; font-size: 12px; line-height: 1.6; margin: 10px 0 12px; }
.donation-note strong { color: #ddd; font-weight: 600; }
.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
#status { font-size: 13px; color: #d9dce1; text-align: center; overflow-wrap: anywhere; }
#status:empty { display: none; }
footer { text-align: center; padding: 21px 0; color: #9b9ea4; font-size: 12px; }
footer p { margin: 0 0 8px; }
footer a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
footer svg { width: 14px; height: 14px; }
:focus-visible { outline: 2px solid white; outline-offset: 4px; }
@property --edge-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes edge-travel { to { --edge-angle: 360deg; } }
.edge::after {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(from var(--edge-angle), #34363a 65%, #b9bec7 80%, white 84%, #34363a 92%);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  animation: edge-travel 7s linear infinite;
}
.card:nth-child(even)::after { animation-delay: -3s; }
.sparkles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .6;
  background-image: radial-gradient(circle, #fff 0 1px, transparent 1.5px),
    radial-gradient(circle, #b6bbc6 0 1px, transparent 1.5px);
  background-size: 167px 219px, 277px 193px;
  background-position: 19px 91px, 82px 9px;
  mask-image: linear-gradient(90deg, #000, transparent 20% 80%, #000);
}
@media (max-width: 540px) {
  .site-header { min-height: 62px; }
  .subtitle { font-size: 19px; margin-bottom: 9px; }
  .story p { font-size: 14px; }
  .support { margin-top: 12px; }
  .card { font-size: 16px; padding: 11px; }
  .donate { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
}
/* Keep the shared explorer in this family's monochrome palette. */
liberate-explore { filter: grayscale(1); }

.crypto { margin: 0 0 10px; }
.crypto summary { cursor: pointer; list-style: none; }
.crypto summary::-webkit-details-marker { display: none; }
.crypto[open] summary svg { transform: rotate(180deg); }
.crypto-panel {
  padding: 14px;
  border: 1px solid #62656a;
  border-radius: 7px;
  background: #101010;
  text-align: center;
  font-size: 14px;
}
.crypto-panel p { margin: 4px 0 10px; line-height: 1.5; }
.crypto-panel .network-note { color: #c8cbd0; font-size: 12px; }
.crypto-panel code {
  display: block;
  padding: 10px 0;
  overflow-wrap: anywhere;
  user-select: all;
}
.crypto-panel img {
  display: block;
  width: min(100%, 260px);
  height: auto;
  margin: 12px auto 0;
  border-radius: 6px;
}
#crypto-status { margin-top: 8px; }
