/* Letter Grid Blitz */

.lgb-status {
  text-align: center;
  font-weight: 700;
  padding: 8px;
  border-radius: 10px;
  margin-bottom: 10px;
}
.lgb-status--win { color: var(--color-success); background: rgba(74, 222, 128, 0.12); }
.lgb-status--lose { color: var(--color-accent); background: rgba(238, 111, 168, 0.12); }
.lgb-status--msg { color: var(--color-text); background: var(--color-bg-alt); }

.lgb-grid {
  display: grid;
  grid-template-columns: repeat(4, 60px);
  grid-template-rows: repeat(4, 60px);
  gap: 6px;
  justify-content: center;
  margin: 0 auto 16px;
}

.lgb-cell {
  position: relative;
  border: none;
  border-radius: 10px;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 2px 0 var(--color-border);
}
.lgb-cell:hover { background: rgba(255, 112, 67, 0.15); }
.lgb-cell--path { background: #ff7043; color: #1a1a1a; }
.lgb-cell--cursor { outline: 2px solid var(--color-primary); outline-offset: 2px; }

.lgb-order {
  position: absolute;
  top: 2px;
  right: 4px;
  font-size: 0.6rem;
  font-weight: 700;
  opacity: 0.8;
}

.lgb-current {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 2px;
  min-height: 36px;
  margin-bottom: 14px;
  color: var(--color-text);
}
.lgb-current-placeholder {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: normal;
  color: var(--color-text-soft);
}

.lgb-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.lgb-found {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.lgb-found-word {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--color-bg-alt);
  color: var(--color-text);
  font-weight: 700;
  font-size: 0.8rem;
}
