.wbt { max-width: 860px; }
.wbt-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.wbt-tab {
  padding: 8px 12px; font-size: 13px; font-weight: 700; border: 1px solid #d9e0d4; border-radius: 6px;
  background: #fff; cursor: pointer; color: #27331f;
}
.wbt-tab-active { background: #19616a; border-color: #19616a; color: #fff; }
.wbt-panel { display: flex; flex-direction: column; gap: 12px; }
.wbt-panel label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; color: #27331f; }
.wbt-panel input, .wbt-panel select { padding: 9px 11px; font-size: 14.5px; border: 1px solid #d9e0d4; border-radius: 6px; }
.wbt-panel input:focus, .wbt-panel select:focus { outline: 2px solid #19616a; outline-offset: 1px; }

.wbt-count { font-size: 12.5px; color: #5b6b56; margin: 0; }
.wbt-empty { font-size: 13px; color: #5b6b56; padding: 10px 0; }
.wbt-hint { font-size: 12.5px; color: #5b6b56; margin: 4px 0 0; }
.wbt-note { margin-top: 16px; font-size: 13px; color: #5b6b56; }
.wbt-section-title { font-size: 13px; font-weight: 700; color: #27331f; margin: 0; }

/* reference tables (biomes, ores, structures) */
.wbt-table-wrap { overflow-x: auto; }
table.wbt-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.wbt-table th, table.wbt-table td {
  text-align: left; padding: 9px 11px; border: 1px solid #d9e0d4; vertical-align: top;
}
table.wbt-table th {
  background: #19616a; color: #fff; font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.02em;
}
table.wbt-table tbody tr:nth-child(even) { background: #f3f4f8; }
table.wbt-table td code { font-family: ui-monospace, monospace; color: #19616a; font-weight: 700; }

/* dimensions comparison table (Overworld / Nether / End columns) */
table.wbt-compare { width: 100%; border-collapse: collapse; font-size: 13.5px; }
table.wbt-compare th, table.wbt-compare td {
  text-align: left; padding: 10px 12px; border: 1px solid #d9e0d4; vertical-align: top;
}
table.wbt-compare thead th {
  background: #19616a; color: #fff; font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.02em;
}
table.wbt-compare tbody th {
  background: #f3f4f8; color: #27331f; font-weight: 700; font-size: 12.5px; white-space: nowrap;
}
table.wbt-compare tbody tr:nth-child(even) td { background: #f3f4f8; }

/* flat world presets: card grid of vertical layer stacks */
.wbt-preset-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.wbt-preset-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 12px; background: #f3f4f8; border: 1px solid #d9e0d4; border-radius: 6px;
}
.wbt-preset-name { font-size: 13.5px; font-weight: 700; color: #27331f; margin: 0; }
.wbt-preset-layers { display: flex; flex-direction: column; gap: 2px; }
.wbt-preset-layer {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 6px 9px; background: #fff; border: 1px solid #d9e0d4; border-radius: 4px; font-size: 12.5px; color: #27331f;
}
.wbt-preset-layer span.wbt-layer-count {
  font-size: 11px; font-weight: 700; color: #5b6b56; background: #f3f4f8; border: 1px solid #d9e0d4;
  border-radius: 4px; padding: 1px 6px; white-space: nowrap;
}
.wbt-preset-string {
  font-family: ui-monospace, monospace; font-size: 12px; color: #19616a; font-weight: 700;
  background: #fff; border: 1px solid #d9e0d4; border-radius: 4px; padding: 8px 9px; word-break: break-all;
}

@media (max-width: 720px) {
  .wbt-preset-grid { grid-template-columns: 1fr; }
}
