body {
    background-color: black;
    color: greenyellow;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}
.tables-container {
    max-width: 800px;
    width: 100%;
    background: white;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.05);
    padding: 2rem 1.5rem;
}
h2 {
    font-weight: 400;
    font-size: 1.5rem;
    margin: 0 0 0.75rem 0;
    color: #1e293b;
    border-left: 5px solid #3b82f6;
    padding-left: 1rem;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2.5rem;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
/* second table doesn't need extra bottom margin */
table:last-of-type {
    margin-bottom: 0.5rem;
}
th, td {
    padding: 14px 10px;
    text-align: left;
    border-bottom: 1px solid #e9edf2;
}
th {
    background-color: #f8fafd;
    font-weight: 600;
    color: #0f1825;
    letter-spacing: 0.3px;
    font-size: 0.95rem;
}
td {
    color: #1f2a41;
}
/* subtle alternating row tint (optional, purely aesthetic) */
tbody tr:nth-child(even) {
    background-color: #fafcff;
}
/* simple caption style */
caption {
    text-align: left;
    font-size: 0.95rem;
    font-weight: 500;
    color: #3b82f6;
    margin-bottom: 10px;
    caption-side: top;
}
.footnote {
    text-align: center;
    font-size: 0.85rem;
    color: #5e6f8c;
    margin-top: 1.8rem;
    border-top: 1px dashed #d0d9e6;
    padding-top: 1.2rem;
}
/* inline badge for column hint (just for demo) */
.col-badge {
    display: inline-block;
    background: #e1eaf8;
    border-radius: 30px;
    padding: 0.2rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: #0269d9;
    margin-left: 0.75rem;
}

  .title {
    margin: 25px 0 10px;
    font-weight: bold;
    font-size: 18px;
  }

  /* shared grid look */
  .grid {
    display: grid;
    gap: 4px;
    margin-bottom: 30px;
  }

  .cell {
    background: #2a2a2a;
    border: 1px solid #444;
    padding: 10px;
    text-align: center;
  }

  /* specific layouts */
  .grid-4x6 {
    grid-template-columns: repeat(4, 1fr);
  }

  .grid-2x6 {
    grid-template-columns: repeat(2, 1fr);
  }

  .d2-unique {
  color: gold;
  cursor: help;   /* shows ? instead of pointer */
}

.d2-sets{
  color: green;
  cursor: help;
}

.d2-runewords{
  color: gray;
  cursor: help;
}

.d2-consumables{
  color: orange;
  cursor: help;
}

.ds-magic{
  color: blue;
}
