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

.mandala-img {
  width: 100%;
  max-width: 400px;
  display: block;
  margin: 0 auto 24px;
  border-radius: 3px;
  image-rendering: pixelated;
  background: #1a1a2a;
}

.title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  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;
}
.nav-arrow:hover { color: #b066ff; }
.nav-arrow[data-tip]:hover::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #2a2a3a;
  color: #e0e0e0;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 0.55rem;
  white-space: nowrap;
  pointer-events: none;
}
.nav-arrow {
  position: relative;
}
.nav-arrow.disabled {
  pointer-events: none;
  opacity: 0.15;
}

.owner-info {
  text-align: center;
  font-size: 0.75rem;
  color: #555;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: relative;
  cursor: default;
  min-height: 24px;
}

.blessing-info {
  text-align: center;
  font-size: 0.7rem;
  color: #444;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  min-height: 20px;
}
.blessing-info a {
  color: #888;
  text-decoration: none;
}
.blessing-info a:hover { color: #b066ff; }

.addr-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: color 0.15s;
}
.addr-link:hover { color: #b066ff; }

.traits {
  margin-bottom: 24px;
}

/* Gradient group */
.grad-group {
  background: #12121a;
  border: 1px solid #1e1e2e;
  border-radius: 3px;
  padding: 14px 16px;
  margin-bottom: 8px;
}

.grad-group.occluded {
  opacity: 0.25;
  border-style: dashed;
}
.grad-group.occluded .grad-label::after {
  content: ' · hidden';
  color: #555;
  font-style: italic;
  letter-spacing: 0.05em;
}

.grad-label {
  font-size: 0.6rem;
  color: #3a3a4a;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.grad-bar {
  height: 8px;
  border-radius: 0;
  margin-bottom: 10px;
  image-rendering: pixelated;
}

.grad-colors {
  display: flex;
  justify-content: space-between;
}

.grad-color {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  position: relative;
  transition: opacity 0.15s;
}
.grad-color:hover { color: #b066ff; }

.grad-color .cs {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid #333;
  display: block;
  box-sizing: border-box;
  flex-shrink: 0;
}

.grad-color .gc-name {
  font-size: 0.65rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.grad-color .gc-value {
  font-size: 0.6rem;
  color: #888;
}

.grad-color .tt,
.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;
}
.grad-color:hover .tt,
.addr-link:hover .tt { visibility: visible; opacity: 1; }

/* Mudra + Prana row */
.mp-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.mp-card {
  flex: 1;
  background: #12121a;
  border: 1px solid #1e1e2e;
  border-radius: 3px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
}

.mp-label {
  font-size: 0.6rem;
  color: #3a3a4a;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.mp-value {
  font-size: 0.7rem;
  color: #888;
  margin-top: 8px;
  text-align: center;
}

/* Mudra pattern icon */
.mudra-display {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}
.mudra-display svg {
  width: auto;
  height: 100%;
  max-height: 80px;
  display: block;
}

/* Prana triangle grid */
.prana-grid {
  display: flex;
  justify-content: center;
  margin-bottom: 4px;
}
.prana-grid svg {
  display: block;
}

.copy-btn {
  background: none;
  border: none;
  color: #444;
  cursor: pointer;
  font-size: 0.7rem;
  padding: 2px;
  line-height: 1;
  transition: color 0.2s;
  width: 1em;
  text-align: center;
  display: inline-block;
}
.copy-btn:hover { color: #b066ff; }
