.w2d-sheet {
  --w2d-sheet-h: 30vh;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: var(--w2d-sheet-h);
  display: grid;
  grid-template-rows: auto 1fr;

  border-top-left-radius: 22px;
  border-top-right-radius: 22px;

  border: 1px solid rgba(255,255,255,.10);
  border-bottom: none;

  background: rgba(12, 14, 18, .78);
  backdrop-filter: blur(14px);

  box-shadow: 0 -18px 50px rgba(0,0,0,.45);
  overflow: hidden;
  touch-action: none; /* dragging */
}

.w2d-sheet.is-animating {
  transition: height 220ms ease;
}

.w2d-sheet__chrome {
  padding: 10px 12px 10px 12px;
  touch-action: none;
  user-select: none;
  cursor: grab;
}

.w2d-sheet__handle {
  width: 44px;
  height: 5px;
  border-radius: 999px;
  margin: 0 auto 10px auto;
  background: rgba(255,255,255,.28);
}

.w2d-sheet__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.w2d-sheet__title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.w2d-sheet__state {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.80);
}

.w2d-sheet__hint {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.65);
}

.w2d-sheet__content {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
}

/* When full, make content feel more “list-like” */
.w2d-sheet.is-full .w2d-sheet__content {
  padding-top: 2px;
}