body {
  font-family: sans-serif;
  background: #111;
  color: #eee;
  margin: 0;
  padding: 2rem;
}

header, footer {
  text-align: center;
  margin-bottom: 2rem;
}

#theme-sigil {
  width: 100px;
  margin-top: 1rem;
}

/* 🔧 Grid layout */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  justify-items: center;
}

/* 🔧 Square shirt box */
.design-box {
  position: relative;
  width: 320px;
  height: 320px;
  background: #222;
  border: 2px solid #444;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
  cursor: pointer;
}

/* 🔧 Tee image fills box */
.design-box img.shirt {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 🔧 Sigil below shirt */
.design-box img.sigil {
  width: 40px;
  margin: 0.5rem auto;
  display: block;
}

/* 🔧 Corner overlays */
.corner-text {
  position: absolute;
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  pointer-events: none;
  z-index: 2;
}

.corner-text.top-left    { top: 5px; left: 5px; }
.corner-text.top-right   { top: 5px; right: 5px; }
.corner-text.bottom-left { bottom: 5px; left: 5px; }
.corner-text.bottom-right{ bottom: 5px; right: 5px; }

/* 🔧 Hover lore overlay */
.hover-lore {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.8);
  padding: 0.5rem;
  font-size: 0.8rem;
  color: #eee;
  z-index: 3;
}

.design-box:hover .hover-lore {
  display: block;
}

/* 🔧 Hub link box */
#hub-link {
  margin: 3rem auto;
  text-align: center;
}

.glow-box {
  display: inline-block;
  padding: 1rem;
  border: 2px solid #fff;
  box-shadow: 0 0 20px #fff;
  cursor: pointer;
}

/* 🔧 Footer links */
footer a {
  margin: 0 1rem;
  color: #ccc;
}
