.decent-head {
  --head-glow: rgba(122, 240, 198, 0.72);
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  min-height: 94px;
  display: grid;
  grid-template-columns: minmax(130px, 1fr) auto minmax(130px, 1fr);
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 1rem 0.5rem;
  border-bottom: 1px solid rgba(122, 240, 198, 0.2);
  background:
    radial-gradient(ellipse at 50% 0, rgba(122, 240, 198, 0.08), transparent 56%),
    linear-gradient(110deg, rgba(4, 10, 25, 0.96), rgba(18, 30, 52, 0.9), rgba(4, 10, 25, 0.96));
  box-shadow: 0 8px 32px rgba(3, 8, 20, 0.34), 0 1px 14px rgba(122, 240, 198, 0.08);
  backdrop-filter: blur(16px);
}

.decent-head-left,
.decent-head-right,
.decent-head-brand,
.decent-head-title {
  position: relative;
  z-index: 2;
}

.decent-head-left,
.decent-head-right {
  display: flex;
  align-items: center;
}

.decent-head-right {
  justify-content: flex-end;
}

.header-control-dock {
  position: relative;
  width: 120px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
}

.decent-head-orb {
  position: relative;
  z-index: 2;
  width: 54px;
  height: 54px;
  display: grid;
  flex: 0 0 54px;
  place-items: center;
  padding: 8px;
  border: 2px solid rgba(141, 124, 247, 0.82);
  border-radius: 50%;
  color: #e0f2fe;
  background: radial-gradient(circle at 35% 30%, rgba(141, 124, 247, 0.4), rgba(6, 9, 18, 0.94));
  box-shadow: 0 0 0 5px rgba(141, 124, 247, 0.06), 0 0 20px rgba(141, 124, 247, 0.42), 0 8px 22px rgba(0, 0, 0, 0.42);
  font: inherit;
  cursor: pointer;
  pointer-events: auto;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, filter 180ms ease;
}

.decent-head-orb:hover,
.decent-head-orb:focus-visible {
  outline: none;
  border-color: #7af0c6;
  box-shadow: 0 0 0 6px rgba(122, 240, 198, 0.12), 0 0 28px rgba(122, 240, 198, 0.46), 0 8px 22px rgba(0, 0, 0, 0.42);
  transform: scale(1.06);
}

.orb-logo {
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(122, 240, 198, 0.65));
}

.ipfs-logo {
  width: 34px;
  height: 38px;
}

.metamask-logo {
  width: 37px;
  height: 29px;
  filter: drop-shadow(0 0 8px rgba(246, 133, 27, 0.48));
}

.ipfs-orb {
  animation: ipfs-orbit-glow 4s ease-in-out infinite;
}

.wallet-orb {
  border-color: rgba(246, 133, 27, 0.82);
  background: radial-gradient(circle at 30% 30%, rgba(246, 133, 27, 0.24), rgba(6, 9, 18, 0.94));
  box-shadow: 0 0 0 5px rgba(246, 133, 27, 0.06), 0 0 20px rgba(246, 133, 27, 0.3), 0 8px 22px rgba(0, 0, 0, 0.42);
}

.wallet-orb:hover,
.wallet-orb:focus-visible {
  border-color: #f6a14b;
  box-shadow: 0 0 0 6px rgba(246, 133, 27, 0.12), 0 0 28px rgba(246, 133, 27, 0.42), 0 8px 22px rgba(0, 0, 0, 0.42);
}

.wallet-orb.connected {
  border-color: rgba(122, 240, 198, 0.92);
  box-shadow: 0 0 0 5px rgba(122, 240, 198, 0.1), 0 0 24px rgba(122, 240, 198, 0.36), 0 8px 22px rgba(0, 0, 0, 0.42);
}

.dock-caption {
  position: absolute;
  top: 58px;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 2px;
  max-width: 100%;
  color: #edf6f2;
  font-size: 0.63rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 6px #05070d, 0 0 10px rgba(122, 240, 198, 0.25);
  text-transform: uppercase;
  white-space: nowrap;
}

.orb-state {
  max-width: 140px;
  overflow: hidden;
  color: #b0c5c1;
  font: 600 0.55rem/1.1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0;
  text-overflow: ellipsis;
  text-transform: none;
}

.wallet-caption {
  max-width: 170px;
  letter-spacing: 0.03em;
}

.wallet-caption .orb-state {
  max-width: 170px;
}

.dock-tree {
  position: absolute;
  z-index: 1;
  line-height: 1;
  filter: drop-shadow(0 0 5px rgba(122, 240, 198, 0.4));
  pointer-events: none;
}

.dock-tree-one {
  top: 9px;
  left: 3px;
  font-size: 20px;
}

.dock-tree-two {
  top: 26px;
  right: 3px;
  font-size: 16px;
}

.dock-tree-three {
  top: 42px;
  left: 10px;
  font-size: 13px;
  opacity: 0.78;
}

.dock-critter {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  font-size: 12px;
  line-height: 1;
  filter: drop-shadow(0 0 5px rgba(122, 240, 198, 0.8));
  pointer-events: none;
}

.dock-critter-squirrel {
  font-size: 11px;
}

.dock-critter-butterfly {
  font-size: 11px;
}

.dock-critter-fox {
  font-size: 12px;
}

.header-forest {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.forest-tree {
  position: absolute;
  opacity: 0.6;
  line-height: 1;
  transform: translate(-50%, -85%);
  filter: drop-shadow(0 0 7px rgba(122, 240, 198, 0.3));
}

.forest-tree-a { font-size: 30px; }
.forest-tree-b { font-size: 21px; }
.forest-tree-c { font-size: 25px; }
.forest-tree-d { font-size: 18px; opacity: 0.4; }
.forest-tree-e { font-size: 25px; }
.forest-tree-f { font-size: 31px; }
.forest-tree-g { font-size: 20px; }
.forest-tree-h { font-size: 24px; }
.forest-tree-i { font-size: 18px; opacity: 0.5; }

@keyframes ipfs-orbit-glow {
  0%, 100% { box-shadow: 0 0 0 5px rgba(141, 124, 247, 0.06), 0 0 18px rgba(141, 124, 247, 0.34), 0 8px 22px rgba(0, 0, 0, 0.42); }
  50% { box-shadow: 0 0 0 7px rgba(122, 240, 198, 0.12), 0 0 27px rgba(122, 240, 198, 0.44), 0 8px 22px rgba(0, 0, 0, 0.42); }
}

.decent-head-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  padding: 0;
  border: 0;
  color: #f8fafc;
  background: transparent;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-shadow: 0 0 18px rgba(34, 211, 238, 0.36);
  cursor: pointer;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.decent-head-title:hover,
.decent-head-title:focus-visible {
  outline: none;
  color: #a5f3fc;
  text-shadow: 0 0 22px rgba(34, 211, 238, 0.7);
}

.head-tree-grove {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid rgba(94, 234, 212, 0.32);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 78, 66, 0.36), rgba(7, 17, 35, 0.16) 70%);
  box-shadow: inset 0 0 10px rgba(34, 211, 238, 0.1), 0 0 12px rgba(34, 211, 238, 0.13);
  padding: 0;
  cursor: default;
  transition: scale 180ms ease;
}

.decent-head-brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
}
.canopy-radio {
  grid-column: 2;
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 2px;
  max-width: 230px;
  position: relative;
}
.canopy-radio-controls { display: flex; align-items: center; gap: 5px; }
.canopy-radio button {
  padding: 3px 5px;
  border: 1px solid rgba(122, 240, 198, .18);
  border-radius: 7px;
  color: #b0c5c1;
  background: rgba(4, 10, 25, .65);
  font: 600 10px/1.2 system-ui, sans-serif;
  cursor: pointer;
  white-space: nowrap;
}
.canopy-radio button:hover, .canopy-radio button:focus-visible { color: #86efac; border-color: #86efac; }
.canopy-radio button[aria-pressed="true"] { color: #86efac; }
.canopy-radio input { width: 48px; height: 16px; margin: 0; accent-color: #6ee7b7; cursor: pointer; }
.canopy-radio .canopy-radio-status {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #8192a6;
  font: 500 9px/1.2 system-ui, sans-serif;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}
.canopy-radio-status.is-error { color: #fbbf24; }
.canopy-radio-details {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  width: min(280px, 80vw);
  box-sizing: border-box;
  padding: 10px;
  border: 1px solid rgba(122, 240, 198, .25);
  border-radius: 8px;
  background: #040a19;
  color: #d5eee4;
  font: 11px/1.4 system-ui, sans-serif;
  overflow-wrap: anywhere;
}
.canopy-radio-details [part="now"] { white-space: normal; margin-bottom: 6px; }
.canopy-radio-details [part="session"] { display: block; }
.canopy-radio-status:focus-visible { outline: 2px solid #86efac; outline-offset: 2px; }
@media (max-width: 620px) {
  .canopy-radio { max-width: 160px; }
  .canopy-radio-controls { gap: 3px; flex-wrap: wrap; justify-content: center; }
  .canopy-radio button { font-size: 9px; padding: 3px; }
  .canopy-radio input { width: 36px; }
  .canopy-radio .canopy-radio-status { font-size: 8px; padding: 0; }
}

.head-tree-grove.admin-ready {
  cursor: pointer;
  animation: admin-grove-spin 12s linear infinite;
}

.head-tree-grove.admin-ready::after {
  content: "✦";
  position: absolute;
  right: -5px;
  top: -7px;
  color: #fde68a;
  animation: admin-grove-sparkle 1.6s ease-in-out infinite alternate;
}

.head-tree-grove.admin-ready:hover,
.head-tree-grove.admin-ready:focus-visible {
  scale: 1.35;
  outline: 2px solid #6ee7b7;
  outline-offset: 3px;
}

@keyframes admin-grove-spin {
  to { transform: rotate(360deg); }
}

@keyframes admin-grove-sparkle {
  from { opacity: 0.35; text-shadow: none; }
  to { opacity: 1; text-shadow: 0 0 12px #fde68a; }
}

@media (prefers-reduced-motion: reduce) {
  .head-tree-grove.admin-ready,
  .head-tree-grove.admin-ready::after { animation: none; }
  .head-tree-grove { transition: none; }
}

.head-tree-grove span {
  position: absolute;
  left: 50%;
  top: 50%;
  font-family: system-ui, sans-serif;
  font-size: 13px;
  line-height: 1;
  filter: drop-shadow(0 0 4px rgba(110, 231, 183, 0.65));
  transform: translate(-50%, -50%);
}

.head-tree-grove span:nth-child(1) {
  transform: translate(-50%, -50%) translateY(-9px);
}

.head-tree-grove span:nth-child(2) {
  transform: translate(-50%, -50%) translate(-8px, 6px);
}

.head-tree-grove span:nth-child(3) {
  transform: translate(-50%, -50%) translate(8px, 6px);
}

.canopy-trails {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.canopy-trails path {
  fill: none;
  stroke: rgba(110, 231, 183, 0.22);
  stroke-width: 1.3;
  stroke-dasharray: 3 10;
  animation: canopy-drift 22s linear infinite;
}

.canopy-trails path:nth-child(2) {
  stroke: rgba(103, 232, 249, 0.18);
  stroke-dashoffset: 10;
  animation-duration: 28s;
  animation-direction: reverse;
}

.canopy-critters {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.canopy-critter {
  position: absolute;
  top: 0;
  left: 0;
  font-size: var(--creature-size, 13px);
  filter: drop-shadow(0 0 6px var(--creature-glow, rgba(253, 224, 71, 0.84)));
}

.critter-squirrel {
  --creature-size: 15px;
  --creature-glow: rgba(253, 224, 71, 0.72);
}

.critter-bird {
  --creature-size: 12px;
  --creature-glow: rgba(103, 232, 249, 0.72);
}

.critter-butterfly {
  --creature-size: 11px;
  --creature-glow: rgba(196, 181, 253, 0.84);
}

.critter-fox {
  --creature-size: 16px;
  --creature-glow: rgba(251, 146, 60, 0.72);
}

.critter-owl {
  --creature-size: 13px;
  --creature-glow: rgba(196, 181, 253, 0.72);
}

.artizen-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  vertical-align: middle;
  flex: 0 0 24px;
}

.artizen-logo[hidden] { display: none; }

.artizen-brand,
.mode-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.artizen-brand { white-space: nowrap; }

.canopy-about-dialog {
  position: fixed;
  width: min(500px, calc(100vw - 2rem));
  max-width: none;
  padding: 2rem clamp(1.35rem, 5vw, 2.5rem) 1.6rem;
  border: 1px solid rgba(94, 234, 212, 0.38);
  border-radius: 1.35rem;
  color: #dbeafe;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(16, 91, 72, 0.26), transparent 52%),
    linear-gradient(145deg, #0b1725, #101e31 64%, #0a1521);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62), 0 0 35px rgba(34, 211, 238, 0.12);
  line-height: 1.65;
  overflow: hidden;
  isolation: isolate;
}

.canopy-about-dialog::before,
.canopy-about-dialog::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.canopy-about-dialog::before {
  opacity: 0.4;
  background:
    radial-gradient(ellipse at 8% 95%, rgba(22, 101, 52, 0.35), transparent 42%),
    radial-gradient(ellipse at 92% 88%, rgba(6, 95, 70, 0.3), transparent 43%),
    repeating-linear-gradient(115deg, transparent 0 62px, rgba(110, 231, 183, 0.035) 63px 64px, transparent 65px 124px);
  animation: about-canopy-breathe 12s ease-in-out infinite alternate;
}

.canopy-about-dialog::after {
  opacity: 0.26;
  background: radial-gradient(circle at 10% 25%, rgba(251, 191, 36, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 37%, rgba(103, 232, 249, 0.8) 0 1px, transparent 2px),
    radial-gradient(circle at 74% 90%, rgba(110, 231, 183, 0.7) 0 1px, transparent 2px);
  background-size: 130px 120px, 170px 150px, 190px 180px;
  animation: about-firefly-drift 16s linear infinite;
}

.canopy-about-dialog > :not(.about-forest-scene):not(form) {
  position: relative;
  z-index: 1;
}

.about-forest-scene {
  position: relative;
  height: 130px;
  margin: 0 0 1rem;
  border: 1px solid rgba(110, 231, 183, 0.18);
  border-radius: 1rem;
  background: radial-gradient(ellipse at center, rgba(16, 91, 72, 0.28), rgba(4, 10, 25, 0.5));
  overflow: hidden;
  pointer-events: none;
}

.about-forest-scene .forest-tree {
  opacity: 0.85;
  filter: drop-shadow(0 0 9px rgba(122, 240, 198, 0.42));
}

.about-forest-scene .canopy-critter {
  line-height: 1;
}

.canopy-about-dialog[open] {
  animation: canopy-dialog-in 240ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.canopy-about-dialog::backdrop {
  background: rgba(2, 6, 18, 0.76);
  backdrop-filter: blur(7px);
}

.canopy-about-dialog form {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
}

.canopy-about-close {
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 50%;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.76);
  font-size: 1.35rem;
  cursor: pointer;
}

.canopy-about-kicker {
  margin: 0;
  color: #6ee7b7;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.canopy-about-dialog h1 {
  margin: 0.25rem 0 1rem;
  color: #f8fafc;
  font: 700 clamp(1.6rem, 6vw, 2.15rem)/1.15 Georgia, 'Times New Roman', serif;
}

.canopy-about-dialog > p:not(.canopy-about-kicker) {
  color: #b8c7d7;
  font-size: 0.9rem;
}

.canopy-about-project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.25rem;
  padding: 0.72rem 1rem;
  border: 1px solid rgba(110, 231, 183, 0.5);
  border-radius: 0.7rem;
  color: #d1fae5;
  background: rgba(5, 80, 60, 0.34);
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.canopy-about-project-link:hover,
.canopy-about-project-link:focus-visible {
  outline: none;
  background: rgba(5, 110, 80, 0.52);
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.2);
  transform: translateY(-1px);
}

.canopy-about-dialog .canopy-about-note {
  margin: 1.2rem 0 0;
  color: #8192a6;
  font-size: 0.75rem;
}

.head-title-copy {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  text-align: center;
}

.decent-head-title small {
  color: #94a3b8;
  font: 500 0.58rem/1 system-ui, sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.decent-head-title .head-frankenstein-subtitle {
  color: #8192a6;
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: none;
}

.ipfs-status-popover {
  position: absolute;
  top: 60px;
  left: 0.9rem;
  z-index: 42;
  width: min(330px, calc(100vw - 1.8rem));
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(34, 211, 238, 0.42);
  border-radius: 0.75rem;
  color: #cbd5e1;
  background: rgba(8, 16, 32, 0.97);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
  font-size: 0.78rem;
  line-height: 1.5;
}

.ipfs-status-popover p {
  margin: 0;
}

.ipfs-status-popover a {
  display: inline-block;
  margin-top: 0.5rem;
  color: #67e8f9;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.wallet-status-message {
  position: absolute;
  top: 92px;
  right: 1rem;
  z-index: 50;
  margin: 0;
  color: #fecaca;
  font-size: 0.72rem;
}

.wallet-status-message:empty {
  display: none;
}

@keyframes canopy-orbit {
  to { transform: rotate(360deg); }
}

@keyframes canopy-pulse {
  0%, 100% { filter: drop-shadow(0 0 1px var(--head-glow)); }
  50% { filter: drop-shadow(0 0 8px var(--head-glow)); }
}

@media (max-width: 620px) {
  .decent-head {
    min-height: 82px;
    grid-template-columns: minmax(74px, 1fr) auto minmax(74px, 1fr);
    gap: 0.2rem;
    padding: 0.28rem 0.22rem 0.35rem;
  }

  .header-control-dock {
    width: 100%;
    max-width: 84px;
    height: 76px;
  }

  .decent-head-orb {
    width: 45px;
    height: 45px;
    flex-basis: 45px;
    padding: 6px;
  }

  .ipfs-logo {
    width: 29px;
    height: 33px;
  }

  .metamask-logo {
    width: 32px;
    height: 25px;
  }

  .dock-caption {
    top: 49px;
    max-width: 100%;
    font-size: 0.55rem;
  }
  .dock-caption > span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }

  .orb-state,
  .wallet-caption .orb-state {
    max-width: min(110px, calc(50vw - 18px));
    font-size: 0.45rem;
  }

  .dock-tree-one {
    top: 7px;
    left: 0;
    font-size: 17px;
  }

  .dock-tree-two {
    top: 24px;
    right: 0;
    font-size: 14px;
  }

  .dock-tree-three {
    top: 38px;
    left: 4px;
    font-size: 11px;
  }

  .dock-critter {
    font-size: 10px;
  }

  .decent-head-title {
    gap: 0.16rem;
    font-size: clamp(0.72rem, 3.3vw, 0.9rem);
    letter-spacing: 0.025em;
  }

  .head-tree-grove {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .head-tree-grove span {
    font-size: 9px;
  }

  .head-tree-grove span:nth-child(1) {
    transform: translate(-50%, -50%) translateY(-6px);
  }

  .head-tree-grove span:nth-child(2) {
    transform: translate(-50%, -50%) translate(-6px, 4px);
  }

  .head-tree-grove span:nth-child(3) {
    transform: translate(-50%, -50%) translate(6px, 4px);
  }

  .decent-head-title small {
    font-size: 0.4rem;
    letter-spacing: 0.07em;
  }

  .head-title-copy {
    gap: 0.25rem;
  }

  .decent-head-title .head-frankenstein-subtitle {
    font-size: 0.35rem;
    letter-spacing: 0.015em;
  }

  .header-forest .forest-tree {
    font-size: 16px;
    opacity: 0.3;
  }

  .wallet-status-message {
    top: 80px;
    right: 0.35rem;
    max-width: 72vw;
    text-align: right;
  }

  .canopy-critter {
    font-size: max(9px, calc(var(--creature-size, 13px) - 3px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .decent-head *,
  .decent-head *::before,
  .decent-head *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .canopy-critter,
  .canopy-trails path,
  .canopy-about-dialog[open],
  .canopy-about-dialog::before,
  .canopy-about-dialog::after {
    animation: none;
  }
}

@keyframes canopy-drift {
  to { stroke-dashoffset: -52; }
}

@keyframes about-canopy-breathe {
  from { opacity: 0.28; }
  to { opacity: 0.48; }
}

@keyframes about-firefly-drift {
  to { background-position: 26px -34px, -38px 28px, 42px -26px; }
}

@keyframes canopy-dialog-in {
  from { opacity: 0; transform: translateY(12px) scale(0.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ipfs-status-popover .ipfs-community-pinners {
  margin-top: 0.5rem;
  color: #a7f3d0;
}

.ipfs-pin-yourself {
  margin-top: 0.65rem;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(52, 211, 153, 0.55);
  border-radius: 999px;
  color: #d1fae5;
  background: rgba(6, 78, 59, 0.55);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.ipfs-pin-yourself:hover,
.ipfs-pin-yourself:focus-visible {
  background: rgba(16, 185, 129, 0.4);
}

.airdrop-claim-chip {
  position: absolute;
  top: calc(var(--decent-head-height, 92px) - 1.6rem);
  right: 1rem;
  z-index: 50;
  padding: 0.2rem 0.65rem;
  border: 1px solid rgba(251, 191, 36, 0.6);
  border-radius: 999px;
  color: #fde68a;
  background: rgba(66, 32, 6, 0.85);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  animation: canopy-pulse 3.2s ease-in-out infinite;
}

.airdrop-claim-chip[hidden] {
  display: none;
}

.pin-yourself-dialog {
  position: fixed;
  width: min(520px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: 1.6rem clamp(1.2rem, 4vw, 2rem) 1.4rem;
  border: 1px solid rgba(52, 211, 153, 0.4);
  border-radius: 1.2rem;
  color: #dbeafe;
  background: linear-gradient(145deg, #0b1725, #0f2230 64%, #0a1521);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62);
  line-height: 1.55;
  font-size: 0.88rem;
}

.pin-yourself-dialog::backdrop {
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(3px);
}

.pin-yourself-dialog h2 {
  margin: 0 0 0.6rem;
  color: #a7f3d0;
}

.pin-yourself-dialog h3 {
  margin: 1rem 0 0.35rem;
  color: #fde68a;
  font-size: 0.92rem;
}

.pin-yourself-dialog p {
  margin: 0.35rem 0;
}

.pin-yourself-dialog code {
  padding: 0.1rem 0.35rem;
  border-radius: 0.35rem;
  color: #e0f2fe;
  background: rgba(15, 23, 42, 0.85);
  overflow-wrap: anywhere;
}

.pin-yourself-dialog a {
  color: #67e8f9;
}

.pin-pinata-form {
  display: grid;
  gap: 0.5rem;
}

.pin-pinata-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: #cbd5e1;
}

.pin-pinata-form input {
  padding: 0.45rem 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 0.45rem;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.9);
  font: inherit;
}

.pin-yourself-status {
  min-height: 1.2em;
  color: #a7f3d0;
}

#canopy-ipfs-controls [hidden] {
  display: none !important;
}

#canopy-ipfs-status {
  overflow-wrap: anywhere;
}

.reward-form {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.5rem;
}

.reward-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: #cbd5e1;
}

.reward-form input:not([type="checkbox"]),
.reward-form select,
.reward-form textarea {
  padding: 0.45rem 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  border-radius: 0.45rem;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.9);
  font: inherit;
  min-width: 0;
}

.reward-form .reward-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem;
}

.reward-form .reward-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.4;
}

.reward-form .reward-check input {
  margin-top: 0.2rem;
  accent-color: #34d399;
}

.reward-form button[disabled] {
  opacity: 0.55;
  cursor: wait;
}

.pin-yourself-status.is-error {
  color: #fca5a5;
}

.about-rewards-note {
  margin: 0.4rem 0 0;
  color: #94a3b8;
  font-size: 0.8rem;
}

.reward-form .reward-submit {
  justify-self: start;
  padding: 0.55rem 1.1rem;
  border: 0;
  border-radius: 999px;
  color: #04121c;
  background: linear-gradient(135deg, #7af0c6, #8ff0ff);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.reward-form .reward-submit:hover,
.reward-form .reward-submit:focus-visible {
  filter: brightness(1.08);
  box-shadow: 0 0 0 3px rgba(122, 240, 198, 0.3);
}
