main {
  width: 100%;
  max-width: 960px;
  padding: 0 20px 40px;
}

.title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 8px;
}
.title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}
.nav-arrow {
  color: #333;
  text-decoration: none;
  font-size: 1.4rem;
  transition: color 0.15s;
  line-height: 1;
  position: relative;
}
.nav-arrow:hover { color: #b066ff; }
.nav-arrow.disabled { pointer-events: none; opacity: 0.15; }

.meta {
  text-align: center;
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 8px;
  line-height: 1.7;
}
.meta a { color: #888; text-decoration: none; }
.meta a:hover { color: #b066ff; }
.meta .sep { color: #333; margin: 0 6px; }

.addr-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: color 0.15s;
  color: #aaa;
}
.addr-link:hover { color: #b066ff; }
.addr-link .tt {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #2a2a3a;
  color: #e0e0e0;
  padding: 5px 8px;
  border-radius: 3px;
  font-size: 0.6rem;
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.15s;
}
.addr-link:hover .tt { visibility: visible; opacity: 1; }

/* Gallery-style mandala grid (shared pattern with gallery.html) */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.mandala-card {
  background: #12121a;
  border: 1px solid #1e1e2e;
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.mandala-card:hover { border-color: #3c007c; }
.mandala-card .img-link { display: block; }
.mandala-card .img-link:hover { cursor: pointer; }
.mandala-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  display: block;
  image-rendering: pixelated;
  background: #1a1a2a;
}
.mandala-card .label {
  padding: 8px;
  text-align: center;
  font-size: 0.7rem;
  color: #555;
  letter-spacing: 0.1em;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mandala-card .token-link {
  color: #555;
  text-decoration: none;
  letter-spacing: 0.1em;
}
.mandala-card .token-link:hover { color: #b066ff; }
.mandala-card .line {
  color: #666;
  font-size: 0.65rem;
  letter-spacing: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.mandala-card .line.src { color: #777; font-style: italic; }
.mandala-card .line.keep { color: #b066ff; font-style: italic; }
.mandala-card .line .lbl { color: #333; text-transform: uppercase; font-size: 0.55rem; letter-spacing: 0.1em; }

.backlink {
  display: block;
  text-align: center;
  margin-top: 32px;
  font-size: 0.75rem;
  color: #555;
  text-decoration: none;
  letter-spacing: 0.1em;
}
.backlink:hover { color: #b066ff; }

footer {
  margin-top: auto;
  padding: 24px 20px;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
}

.copy-btn {
  background: none;
  border: none;
  color: #444;
  cursor: pointer;
  font-size: 0.7rem;
  padding: 2px;
  line-height: 1;
  transition: color 0.2s;
}
.copy-btn:hover { color: #b066ff; }
