* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: #050505;
  background-image: radial-gradient(circle, #0d0d0d 1px, transparent 1px);
  background-size: 9px 9px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
  line-height: 1.65;
  color: #404040;
  cursor: crosshair;
  overflow-x: hidden;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 950;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)'/%3E%3C/svg%3E");
  opacity: 0.045;
}

.vignette {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 88% 88% at 50% 50%, transparent 22%, rgba(0,0,0,0.92) 100%);
  pointer-events: none;
  z-index: 949;
}

.stone {
  border: 1.5px solid #1e1e1e;
  border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  filter: url(#jitter);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: border-color 1.4s;
}

.stone:hover { border-color: #333; }

.abox {
  white-space: pre;
  font-size: 12px;
  line-height: 1.65;
  color: #5a5a5a;
  display: inline-block;
}

/* sub-page shared layout */
.subpage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 64px 32px 80px;
  position: relative;
}

.back-link {
  position: absolute;
  top: 32px;
  left: 36px;
  font-size: 10px;
  color: #1e1e1e;
  text-decoration: none;
  letter-spacing: 0.3em;
  transition: color 0.4s;
}

.back-link:hover { color: #555; }

.page-label {
  font-size: 10px;
  letter-spacing: 0.45em;
  color: #1e1e1e;
  text-transform: uppercase;
  margin-bottom: 40px;
  margin-top: 8px;
}
