.trayPanel {
  width: 100%;
}

.trayHeader {
  padding: 14px;
  display: grid;
  gap: 2px;
}

.trayTitle {
  font-weight: 800;
  font-size: 15px;
}

.traySub {
  font-size: 12px;
  color: var(--muted);
}

.tray {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 14px;
  touch-action: none;
}

.slot {
  min-height: var(--slotMinH);
  padding: 10px;

  display: grid;
  place-items: center;
  position: relative;
  -webkit-user-select: none;
  user-select: none;
}

.slot.disabled {
  opacity: 0.4;
}

.piece {
  display: grid;
  gap: 0px;
  padding: 0;

  direction: ltr;
  cursor: grab;
  touch-action: none;
}

.piece:active {
  cursor: grabbing;
}

.pieceBlock {
  width: var(--trayBlockPx);
  height: var(--trayBlockPx);
  --bevel: 3px;
  --bevelLineHalf: 1px;
  --bevelShade: rgba(88, 44, 10, 0.34);
  --bevelShade2: rgba(70, 34, 8, 0.52);

  border-radius: 0px;
  background: var(--fill, rgba(255, 255, 255, 0.2));
  border-style: solid;
  border-width: var(--bevel);
  border-top-color: var(--fillTop, rgba(255, 255, 255, 0.22));
  border-right-color: var(--fillRight, rgba(0, 0, 0, 0.18));
  border-bottom-color: var(--fillBottom, rgba(0, 0, 0, 0.22));
  border-left-color: var(--fillLeft, rgba(255, 255, 255, 0.16));
  position: relative;
  overflow: hidden;
  box-shadow:
    3px 3px 0 rgba(0, 0, 0, 0.22),
    0 6px 10px rgba(0, 0, 0, 0.18);
}

.pieceBlock::before {
  content: none;
}

.pieceBlock::after {
  content: none;
}

.tips {
  padding: 0 14px 14px 14px;
  display: grid;
  gap: 8px;
}

.tip {
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 12px;
}

.dragLayer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 65;
}

.dragPiece {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  box-shadow: none;
  opacity: 0.92;
  will-change: transform;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.38));
}

.flyLayer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
}

.scoreFly {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  font-family: Cairo, Arial, system-ui;
  font-weight: 900;
  font-size: 22px;
  color: #fde047;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.28);
  -webkit-text-stroke: 2px rgba(30, 64, 175, 0.92);
}

.scoreFly.big {
  font-size: 52px;
  -webkit-text-stroke: 3px rgba(30, 64, 175, 0.92);
  text-shadow: 0 5px 0 rgba(0, 0, 0, 0.3);
}
